summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future5.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_future5.py')
-rw-r--r--Lib/test/test_future5.py4
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()