Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_sort.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 | b9ee31a26f38 |
| children | adbd77a90bde |
line wrap: on
line diff
--- a/Lib/test/test_sort.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_sort.py Tue May 20 21:35:26 2008 +0000 @@ -1,9 +1,9 @@ -from test import test_support +from test import support import random import sys import unittest -verbose = test_support.verbose +verbose = support.verbose nerrors = 0 def CmpToKey(mycmp): @@ -261,14 +261,14 @@ TestBugs, ) - test_support.run_unittest(*test_classes) + support.run_unittest(*test_classes) # verify reference counting if verbose and hasattr(sys, "gettotalrefcount"): import gc counts = [None] * 5 for i in range(len(counts)): - test_support.run_unittest(*test_classes) + support.run_unittest(*test_classes) gc.collect() counts[i] = sys.gettotalrefcount() print(counts)
