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
4a704d23
Commit
4a704d23
authored
Jun 17, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Plain Diff
(Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler module
parents
9ce4f36a
4de701b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/test/regrtest.py
Lib/test/regrtest.py
+3
-3
No files found.
Lib/test/regrtest.py
View file @
4a704d23
...
...
@@ -536,13 +536,13 @@ def main(tests=None, testdir=None, verbose=0, quiet=False,
# join it with the saved CWD so it ends up where the user expects.
testdir
=
os
.
path
.
join
(
support
.
SAVEDCWD
,
a
)
elif
o
==
'--timeout'
:
if
hasattr
(
faulthandler
,
'dump_traceback
s
_later'
):
if
hasattr
(
faulthandler
,
'dump_traceback_later'
):
timeout
=
float
(
a
)
if
timeout
<=
0
:
timeout
=
None
else
:
print
(
"Warning: The timeout option requires "
"faulthandler.dump_traceback
s
_later"
)
"faulthandler.dump_traceback_later"
)
timeout
=
None
elif
o
==
'--wait'
:
input
(
"Press any key to continue..."
)
...
...
@@ -972,7 +972,7 @@ def runtest(test, verbose, quiet,
support.use_resources = use_resources
use_timeout = (timeout is not None)
if use_timeout:
faulthandler.dump_traceback
s
_later(timeout, exit=True)
faulthandler.dump_traceback_later(timeout, exit=True)
try:
support.match_tests = match_tests
if failfast:
...
...
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