Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_codecs.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 | 9c4bf18e5d30 |
| children | 501256c54c84 |
line wrap: on
line diff
--- a/Lib/test/test_codecs.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_codecs.py Tue May 20 21:35:26 2008 +0000 @@ -1,4 +1,4 @@ -from test import test_support +from test import support import unittest import codecs import sys, _testcapi, io @@ -1032,7 +1032,7 @@ try: self.assertEquals(nameprep(orig), prepped) except Exception as e: - raise test_support.TestFailed("Test 3.%d: %s" % (pos+1, str(e))) + raise support.TestFailed("Test 3.%d: %s" % (pos+1, str(e))) class IDNACodecTest(unittest.TestCase): def test_builtin_decode(self): @@ -1477,7 +1477,7 @@ def test_main(): - test_support.run_unittest( + support.run_unittest( UTF32Test, UTF32LETest, UTF32BETest,
