New submission from Jean-Paul Calderone <exar...@divmod.com>:

There are two tests for the way inspect.classify_class_attrs handles various 
sorts of attributes.  The tests are identical, except one uses a classic class 
and one a new-style class.  The tests sources have actually begun to diverge, 
but so far only in whitespace.  This code will be easier to maintain (not to 
mention shorter) if there is just one copy of the actual test parts.

----------
assignee: exarkun
components: Library (Lib), Tests
keywords: needs review, patch
messages: 102776
nosy: exarkun
severity: normal
status: open
title: Lots of duplicate code between test_classify_oldstyle and 
test_classify_newstyle in test_inspect.py
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8363>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to