[issue10033] can't run unittest because of issubclass

Ned Deily report at bugs.python.org
Wed Oct 6 04:08:42 CEST 2010


Ned Deily <nad at acm.org> added the comment:

The unittest module was substantially revised and enhanced for Python 2.7 and the upcoming 3.2.  Your test case now works properly under both.

$ python2.6 -m unittest -v simple_test

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
$ python2.7 -m unittest -v simple_test
test_1 (simple_test.A) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
$ python3.2 -m unittest -v simple_test
test_1 (simple_test.A) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK

Since only security issues are still being accepted for Python 2.6, this problem will not be fixed there.

----------
nosy: +ned.deily
resolution:  -> out of date
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10033>
_______________________________________


More information about the Python-bugs-list mailing list