[issue14407] concurrent.futures tests don't adher to test_cases protocol

2013-10-15 Thread Zachary Ware
Zachary Ware added the comment: I had missed this issue before; issue16968 tracks the same thing. There are a couple of issues that the committed patch doesn't address. Namely, the file still uses test_main, and there is no thread or process reaping when running the file via discovery. Unfor

[issue14407] concurrent.futures tests don't adher to test_cases protocol

2013-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed, thanks for reporting! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ __

[issue14407] concurrent.futures tests don't adher to test_cases protocol

2013-10-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 38243a0a1f44 by Antoine Pitrou in branch '3.3': Issue #14407: Fix unittest test discovery in test_concurrent_futures. http://hg.python.org/cpython/rev/38243a0a1f44 New changeset 9cc40bc5f02b by Antoine Pitrou in branch 'default': Issue #14407: Fix u

[issue14407] concurrent.futures tests don't adher to test_cases protocol

2013-10-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think the better solution would be to fix the test inheritance hierarchy: only concrete test classes should inherit from unittest.TestCase. Then the code can be simplified by simply calling unittest.main(__name__). -- nosy: +pitrou stage: -> patch r

[issue14407] concurrent.futures tests don't adher to test_cases protocol

2013-10-14 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +bquinlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue14407] concurrent.futures tests don't adher to test_cases protocol

2012-03-25 Thread Matt Joiner
Changes by Matt Joiner : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14407] concurrent.futures tests don't adher to test_cases protocol

2012-03-25 Thread Matt Joiner
New submission from Matt Joiner : matt@matt-1005P:~/src/cpython$ ./python -m unittest test.test_concurrent_futures Ran 79 tests in 62.554s FAILED (errors=18) Failures are due to test discovery picking up unintentionally exposed tests. By adhering to the test_cases protocol introduced in 3.2, t