diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-02-27 08:00:03 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-02-27 08:00:03 (GMT) |
commit | 1ed6be3793cf7e0964a8c345967064e915e13b78 (patch) | |
tree | 16d7162f231586021a0f651bdfba95a1da5a2256 /Lib/test/test_future5.py | |
parent | c472c5d7bd2e2b347af650cf448bad71e33aa317 (diff) | |
download | cpython-1ed6be3793cf7e0964a8c345967064e915e13b78.zip cpython-1ed6be3793cf7e0964a8c345967064e915e13b78.tar.gz cpython-1ed6be3793cf7e0964a8c345967064e915e13b78.tar.bz2 |
#17303: test_future* now work with unittest test discovery. Patch by Zachary Ware.
Diffstat (limited to 'Lib/test/test_future5.py')
-rw-r--r-- | Lib/test/test_future5.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_future5.py b/Lib/test/test_future5.py index ed03a07..b44b97e 100644 --- a/Lib/test/test_future5.py +++ b/Lib/test/test_future5.py @@ -17,5 +17,5 @@ class TestMultipleFeatures(unittest.TestCase): self.assertEqual(s.getvalue(), "foo\n") -def test_main(): - support.run_unittest(TestMultipleFeatures) +if __name__ == '__main__': + unittest.main() |