Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_operator.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 | 16b44764944e |
| children | 1c50a17c0f21 |
line wrap: on
line diff
--- a/Lib/test/test_operator.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_operator.py Tue May 20 21:35:26 2008 +0000 @@ -1,7 +1,7 @@ import operator import unittest -from test import test_support +from test import support class Seq1: def __init__(self, lst): @@ -465,14 +465,14 @@ OperatorTestCase, ) - 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)
