diff Lib/test/test_format.py @ 47201:9c930a32cebb

#2621 rename test.test_support to test.support
author Benjamin Peterson <benjamin@python.org>
date Tue, 20 May 2008 21:35:26 +0000
parents 1b6c0ff134fa
children d57aa752a401
line wrap: on
line diff
--- a/Lib/test/test_format.py	Tue May 20 07:26:11 2008 +0000
+++ b/Lib/test/test_format.py	Tue May 20 21:35:26 2008 +0000
@@ -1,9 +1,9 @@
-from test.test_support import verbose, TestFailed
+from test.support import verbose, TestFailed
 import sys
-import test.test_support as test_support
+import test.support as support
 import unittest
 
-maxsize = test_support.MAX_Py_ssize_t
+maxsize = support.MAX_Py_ssize_t
 
 # test string formatting operator (I am not sure if this is being tested
 # elsewhere but, surely, some of the given cases are *not* tested because
@@ -256,7 +256,7 @@
                 raise TestFailed('"%*d"%(maxsize, -127) should fail')
 
 def test_main():
-    test_support.run_unittest(FormatTest)
+    support.run_unittest(FormatTest)
 
 
 if __name__ == "__main__":