summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-04-28 04:50:06 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-04-28 04:50:06 (GMT)
commit8dc43032971710883b3ee156bd01509b85648596 (patch)
treeed062655a68e7c8daf79b602e0072c9d68ac9105 /Lib
parentb8bdbc04e702409e5aaaaff74c6e5cd93226af07 (diff)
downloadcpython-8dc43032971710883b3ee156bd01509b85648596.zip
cpython-8dc43032971710883b3ee156bd01509b85648596.tar.gz
cpython-8dc43032971710883b3ee156bd01509b85648596.tar.bz2
Rename the test_traceback_print() function to traceback_print() to prevent
test_capi from automatically calling the function.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_traceback.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py
index a3a5e39..96b8938 100644
--- a/Lib/test/test_traceback.py
+++ b/Lib/test/test_traceback.py
@@ -1,6 +1,6 @@
"""Test cases for traceback module"""
-from _testcapi import test_traceback_print
+from _testcapi import traceback_print
from StringIO import StringIO
import sys
import unittest
@@ -13,7 +13,7 @@ try:
except KeyError:
type_, value, tb = sys.exc_info()
file_ = StringIO()
- test_traceback_print(tb, file_)
+ traceback_print(tb, file_)
example_traceback = file_.getvalue()
else:
raise Error("unable to create test traceback string")