[Python-checkins] cpython (2.7): Enable the only tests for sys.gettrace
amaury.forgeotdarc
python-checkins at python.org
Wed Oct 5 22:37:58 CEST 2011
http://hg.python.org/cpython/rev/16c4137a413c
changeset: 72707:16c4137a413c
branch: 2.7
parent: 72694:64fae6f7b64c
user: Amaury Forgeot d'Arc <amauryfa at gmail.com>
date: Wed Oct 05 22:34:51 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.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