summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sundry.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 (GMT)
commitee8712cda46338d223509cc5751fd36509ad3860 (patch)
treebb9d363b4276566415457980472001c7e3ec2bed /Lib/test/test_sundry.py
parent6a654814ea3f3a918935762ffdcd33ae98e00278 (diff)
downloadcpython-ee8712cda46338d223509cc5751fd36509ad3860.zip
cpython-ee8712cda46338d223509cc5751fd36509ad3860.tar.gz
cpython-ee8712cda46338d223509cc5751fd36509ad3860.tar.bz2
#2621 rename test.test_support to test.support
Diffstat (limited to 'Lib/test/test_sundry.py')
-rw-r--r--Lib/test/test_sundry.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 1b6069d..292722d 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -1,13 +1,13 @@
"""Do a minimal test of all the modules that aren't otherwise tested."""
-from test import test_support
+from test import support
import sys
import unittest
import warnings
class TestUntestedModules(unittest.TestCase):
def test_at_least_import_untested_modules(self):
- with test_support.catch_warning():
+ with support.catch_warning():
import CGIHTTPServer
import aifc
import bdb
@@ -73,14 +73,14 @@ class TestUntestedModules(unittest.TestCase):
try:
import tty # not available on Windows
except ImportError:
- if test_support.verbose:
+ if support.verbose:
print("skipping tty")
import webbrowser
import xml
def test_main():
- test_support.run_unittest(TestUntestedModules)
+ support.run_unittest(TestUntestedModules)
if __name__ == "__main__":
test_main()