[Python-checkins] cpython (merge 3.3 -> default): (Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler module

victor.stinner python-checkins at python.org
Mon Jun 17 20:28:26 CEST 2013


http://hg.python.org/cpython/rev/c026dbe95f78
changeset:   84188:c026dbe95f78
parent:      84186:ec4b0145f7e5
parent:      84187:732fb15e856d
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Mon Jun 17 20:28:02 2013 +0200
summary:
  (Merge 3.3) regrtest.py: Fix typo in the usage of the faulthandler module

files:
  Lib/test/regrtest.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -536,13 +536,13 @@
             # 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 @@
         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:

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list