#2621 rename test.test_support to test.support

This commit is contained in:
Benjamin Peterson 2008-05-20 21:35:26 +00:00
parent 6a654814ea
commit ee8712cda4
358 changed files with 1308 additions and 1307 deletions

View file

@ -10,7 +10,7 @@ from io import StringIO, BytesIO
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 @@ Stonecutters Seafood and Chop House, Lemont, IL, 12/19/02, Week Back
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 @@ class TestUnicode(unittest.TestCase):
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')]
)