diff options
Diffstat (limited to 'Lib/test/test_future3.py')
-rw-r--r-- | Lib/test/test_future3.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/test/test_future3.py b/Lib/test/test_future3.py index b1552a5..09f1c78 100644 --- a/Lib/test/test_future3.py +++ b/Lib/test/test_future3.py @@ -2,7 +2,6 @@ from __future__ import nested_scopes from __future__ import division import unittest -from test import support x = 2 def nester(): @@ -23,8 +22,5 @@ class TestFuture(unittest.TestCase): def test_nested_scopes(self): self.assertEqual(nester(), 3) -def test_main(): - support.run_unittest(TestFuture) - if __name__ == "__main__": - test_main() + unittest.main() |