summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_weakref.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_weakref.py')
-rw-r--r--Lib/test/test_weakref.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_weakref.py b/Lib/test/test_weakref.py
index 7de7b77..303345b 100644
--- a/Lib/test/test_weakref.py
+++ b/Lib/test/test_weakref.py
@@ -4,7 +4,7 @@ import unittest
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 @@ OK
__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__":