summaryrefslogtreecommitdiff
path: root/Lib/test/test_future.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 +0000
committerBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 +0000
commit191bb1a4e6297cc84aa247fb3039fca3defcb03a (patch)
treea173e04b260943dcad3348a95f52ce4ee10f9886 /Lib/test/test_future.py
parent8c10100984e3a1f6c753345a552369a902c8d78f (diff)
downloadcpython-191bb1a4e6297cc84aa247fb3039fca3defcb03a.tar.gz
#2621 rename test.test_support to test.support
Diffstat (limited to 'Lib/test/test_future.py')
-rw-r--r--Lib/test/test_future.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_future.py b/Lib/test/test_future.py
index 1437489d90..494f539a36 100644
--- a/Lib/test/test_future.py
+++ b/Lib/test/test_future.py
@@ -1,7 +1,7 @@
# Test various flavors of legal and illegal future statements
import unittest
-from test import test_support
+from test import support
import re
rx = re.compile('\((\S+).py, line (\d+)')
@@ -13,17 +13,17 @@ def get_error_location(msg):
class FutureTest(unittest.TestCase):
def test_future1(self):
- test_support.unload('test_future1')
+ support.unload('test_future1')
from test import test_future1
self.assertEqual(test_future1.result, 6)
def test_future2(self):
- test_support.unload('test_future2')
+ support.unload('test_future2')
from test import test_future2
self.assertEqual(test_future2.result, 6)
def test_future3(self):
- test_support.unload('test_future3')
+ support.unload('test_future3')
from test import test_future3
def test_badfuture3(self):
@@ -104,7 +104,7 @@ class FutureTest(unittest.TestCase):
def test_main():
- test_support.run_unittest(FutureTest)
+ support.run_unittest(FutureTest)
if __name__ == "__main__":
test_main()