New submission from Zachary Ware: I think this one only didn't work with discovery by accident: the only change necessary to make discovery pass was to make _TestPoll match all other _Test* classes by inheriting from BaseTestCase instead of unittest.TestCase. The remainder of the changes are to eliminate test_main by converting it instead to setUpModule. setUpModule is, I think, necessary on this one due to a failing test in WithProcessesTestLogging when the initial call to multiprocessing.get_logger().setLevel() (originally in test_main) is moved to top-level code.
---------- components: Tests files: test_multiprocessing_discovery.diff keywords: patch messages: 187181 nosy: brett.cannon, ezio.melotti, zach.ware priority: normal severity: normal status: open title: Fix test discovery for test_multiprocessing.py type: behavior versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file29905/test_multiprocessing_discovery.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17778> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com