Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_syntax.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 | 981ecc526703 |
| children | 42309437f1ca |
line wrap: on
line diff
--- a/Lib/test/test_syntax.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_syntax.py Tue May 20 21:35:26 2008 +0000 @@ -476,7 +476,7 @@ import unittest import warnings -from test import test_support +from test import support class SyntaxTestCase(unittest.TestCase): @@ -548,9 +548,9 @@ self._check_error("int(base=10, '2')", "non-keyword arg") def test_main(): - test_support.run_unittest(SyntaxTestCase) + support.run_unittest(SyntaxTestCase) from test import test_syntax - test_support.run_doctest(test_syntax, verbosity=True) + support.run_doctest(test_syntax, verbosity=True) if __name__ == "__main__": test_main()
