[issue14333] queue unittest errors

2012-03-17 Thread Matt Joiner
Matt Joiner added the comment: Yes, FWIW much of the standard library tests are callable this way without issue. I have patches that fix the discoverability of a few test modules. I'll submit these in another issue. -- ___ Python tracker

[issue14333] queue unittest errors

2012-03-17 Thread R. David Murray
R. David Murray added the comment: Not only do I think we should support calling our tests via unittest, I think we should move in the direction of having regrtest be implemented via standard unittest hooks rather than the monster it currently is. That will take quite a bit of effort, though

[issue14333] queue unittest errors

2012-03-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 118f7bdd631b by R David Murray in branch '3.2': #14333: fix test_queue so it can be run via standard unittest test discovery. http://hg.python.org/cpython/rev/118f7bdd631b New changeset 3ea4d7adb3e7 by R David Murray in branch 'default': Merge #143

[issue14333] queue unittest errors

2012-03-17 Thread Georg Brandl
Georg Brandl added the comment: The decorator solution looks overly mind-boggling for this simple case. BTW, I'm not sure we support calling our tests in this way, but it would be a good goal to, so I'm in favor of fixing these kinds of problems. -- nosy: +georg.brandl __

[issue14333] queue unittest errors

2012-03-17 Thread Michele Orrù
Changes by Michele Orrù : Added file: http://bugs.python.org/file24911/issue14333.patch ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue14333] queue unittest errors

2012-03-17 Thread Michele Orrù
Michele Orrù added the comment: This bug is becouse of Lib/unittest/loader.py:107 . So a quick fix would be to inherit from unittest.TestCase only in the exposed classes; but probably using a class decorator is the best solution. -- keywords: +patch Added file: http://bugs.python.org/

[issue14333] queue unittest errors

2012-03-17 Thread Michele Orrù
Changes by Michele Orrù : -- nosy: +maker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue14333] queue unittest errors

2012-03-16 Thread Matt Joiner
New submission from Matt Joiner : $ python3.3 -m unittest test.test_queue Generates errors in the unit test code of the form AttributeError: 'BaseQueueTest' object has no attribute 'type2test' -- components: Tests messages: 156006 nosy: anacrolix, benjamin.peterson, rhettinger priority