mirror of https://github.com/python/cpython.git
Don't reference a module named test.test_support. Always use plain
test_support. Also fixed the expected output.
This commit is contained in:
parent
79ca79d1a9
commit
ff18b800a4
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue