[Python-checkins] cpython (3.2): Enable the only tests for sys.gettrace
amaury.forgeotdarc
python-checkins at python.org
Wed Oct 5 22:37:59 CEST 2011
http://hg.python.org/cpython/rev/a0393cbe4872
changeset: 72708:a0393cbe4872
branch: 3.2
parent: 72701:d60c00015f01
user: Amaury Forgeot d'Arc <amauryfa at gmail.com>
date: Wed Oct 05 22:36:05 2011 +0200
summary:
Enable the only tests for sys.gettrace
files:
Lib/test/test_sys_settrace.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_sys_settrace.py b/Lib/test/test_sys_settrace.py
--- a/Lib/test/test_sys_settrace.py
+++ b/Lib/test/test_sys_settrace.py
@@ -282,11 +282,11 @@
self.compare_events(func.__code__.co_firstlineno,
tracer.events, func.events)
- def set_and_retrieve_none(self):
+ def test_set_and_retrieve_none(self):
sys.settrace(None)
assert sys.gettrace() is None
- def set_and_retrieve_func(self):
+ def test_set_and_retrieve_func(self):
def fn(*args):
pass
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list