summaryrefslogtreecommitdiff
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-17 20:28:02 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-06-17 20:28:02 +0200
commit07ff57c25c4dd85ee9007c24b25b7548feb3c33f (patch)
tree48ea9ae1b72d63b18ecc7fb6da61af615660cc78 /Lib/test/regrtest.py
parent20f6df079da96dc4f9e7fd61a33596c86f1f3704 (diff)
parent0038990f5faa1f0da401119d5986d17caa30b91d (diff)
downloadcpython-07ff57c25c4dd85ee9007c24b25b7548feb3c33f.tar.gz
(Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler module
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index b3ba33f8d6..a8ff65295b 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -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_tracebacks_later'):
+ if hasattr(faulthandler, 'dump_traceback_later'):
timeout = float(a)
if timeout <= 0:
timeout = None
else:
print("Warning: The timeout option requires "
- "faulthandler.dump_tracebacks_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_tracebacks_later(timeout, exit=True)
+ faulthandler.dump_traceback_later(timeout, exit=True)
try:
support.match_tests = match_tests
if failfast: