summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_future3.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-02-27 08:01:06 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-02-27 08:01:06 (GMT)
commit28050255cca492295df75b9649dddd4d95a0940c (patch)
tree91f99c8d7faf37db8502d72152c2194a71cbaa45 /Lib/test/test_future3.py
parent742c5961dd09e4e674feef10c2bd43191cdf828e (diff)
parent1ed6be3793cf7e0964a8c345967064e915e13b78 (diff)
downloadcpython-28050255cca492295df75b9649dddd4d95a0940c.zip
cpython-28050255cca492295df75b9649dddd4d95a0940c.tar.gz
cpython-28050255cca492295df75b9649dddd4d95a0940c.tar.bz2
#17303: merge with 3.3.
Diffstat (limited to 'Lib/test/test_future3.py')
-rw-r--r--Lib/test/test_future3.py6
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()