Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_csv.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 | 146ba97ffe1a |
| children | 1a11717a154b |
line wrap: on
line diff
--- a/Lib/test/test_csv.py Tue May 20 07:26:11 2008 +0000 +++ b/Lib/test/test_csv.py Tue May 20 21:35:26 2008 +0000 @@ -10,7 +10,7 @@ from tempfile import TemporaryFile import csv import gc -from test import test_support +from test import support class Test_Csv(unittest.TestCase): """ @@ -790,7 +790,7 @@ self.assertEqual(dialect.quotechar, "'") if not hasattr(sys, "gettotalrefcount"): - if test_support.verbose: print("*** skipping leakage tests ***") + if support.verbose: print("*** skipping leakage tests ***") else: class NUL: def write(s, *args): @@ -891,7 +891,7 @@ def test_main(): mod = sys.modules[__name__] - test_support.run_unittest( + support.run_unittest( *[getattr(mod, name) for name in dir(mod) if name.startswith('Test')] )
