summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-08-21 22:59:29 (GMT)
committerGuido van Rossum <guido@python.org>2000-08-21 22:59:29 (GMT)
commitff18b800a4bfe80ddb12f50f0543dff159a5a96f (patch)
tree5fb695bedd30a80a39bac153f257bf577c4e8f91
parent79ca79d1a904f7960fea34bec84c11eec70c4587 (diff)
downloadcpython-ff18b800a4bfe80ddb12f50f0543dff159a5a96f.zip
cpython-ff18b800a4bfe80ddb12f50f0543dff159a5a96f.tar.gz
cpython-ff18b800a4bfe80ddb12f50f0543dff159a5a96f.tar.bz2
Don't reference a module named test.test_support. Always use plain
test_support. Also fixed the expected output.
-rw-r--r--Lib/test/output/test_getopt6
-rw-r--r--Lib/test/test_getopt.py2
2 files changed, 1 insertions, 7 deletions
diff --git a/Lib/test/output/test_getopt b/Lib/test/output/test_getopt
index b632f71..838276e 100644
--- a/Lib/test/output/test_getopt
+++ b/Lib/test/output/test_getopt
@@ -1,7 +1 @@
test_getopt
-Running tests on getopt.short_has_arg
-Running tests on getopt.long_has_args
-Running tests on getopt.do_shorts
-Running tests on getopt.do_longs
-Running tests on getopt.getopt
-Module getopt: tests completed successfully.
diff --git a/Lib/test/test_getopt.py b/Lib/test/test_getopt.py
index 1580a79..3927c1c 100644
--- a/Lib/test/test_getopt.py
+++ b/Lib/test/test_getopt.py
@@ -3,7 +3,7 @@
import getopt
from getopt import GetoptError
-from test.test_support import verbose
+from test_support import verbose
def expectException(teststr, expected, failure=AssertionError):
"""Executes a statement passed in teststr, and raises an exception