From: Guido van Rossum Date: Mon, 21 Aug 2000 22:59:29 +0000 (+0000) Subject: Don't reference a module named test.test_support. Always use plain X-Git-Tag: v2.0b1~319 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff18b800a4bfe80ddb12f50f0543dff159a5a96f;p=thirdparty%2FPython%2Fcpython.git Don't reference a module named test.test_support. Always use plain test_support. Also fixed the expected output. --- diff --git a/Lib/test/output/test_getopt b/Lib/test/output/test_getopt index b632f716fe03..838276e0b0f8 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 1580a79f2521..3927c1c31e38 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