Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ff18b800
Commit
ff18b800
authored
Aug 21, 2000
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't reference a module named test.test_support. Always use plain
test_support. Also fixed the expected output.
parent
79ca79d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
Lib/test/output/test_getopt
Lib/test/output/test_getopt
+0
-6
Lib/test/test_getopt.py
Lib/test/test_getopt.py
+1
-1
No files found.
Lib/test/output/test_getopt
View file @
ff18b800
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.
Lib/test/test_getopt.py
View file @
ff18b800
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment