Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_weakref.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 | b1cb6b44b798 |
| children | f762a9ab69dd |
line wrap: on
line diff
--- a/Lib/test/test_weakref.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_weakref.py Tue May 20 21:35:26 2008 +0000 @@ -4,7 +4,7 @@ import collections import weakref -from test import test_support +from test import support # Used in ReferencesTestCase.test_ref_created_during_del() . ref_from_del = None @@ -1145,13 +1145,13 @@ __test__ = {'libreftest' : libreftest} def test_main(): - test_support.run_unittest( + support.run_unittest( ReferencesTestCase, MappingTestCase, WeakValueDictionaryTestCase, WeakKeyDictionaryTestCase, ) - test_support.run_doctest(sys.modules[__name__]) + support.run_doctest(sys.modules[__name__]) if __name__ == "__main__":
