Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_contextlib.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 | 031dfe455585 |
| children | 3eb522dc3337 |
line wrap: on
line diff
--- a/Lib/test/test_contextlib.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_contextlib.py Tue May 20 21:35:26 2008 +0000 @@ -8,7 +8,7 @@ import unittest import threading from contextlib import * # Tests __all__ -from test import test_support +from test import support class ContextManagerTestCase(unittest.TestCase): @@ -331,7 +331,7 @@ # This is needed to make the test actually run under regrtest.py! def test_main(): - test_support.run_unittest(__name__) + support.run_unittest(__name__) if __name__ == "__main__": test_main()
