summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-10-05 20:36:05 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2011-10-05 20:36:05 (GMT)
commit3e961a5fd141363cc7dc38d4bc9e9e0ff965cd74 (patch)
tree4c149f50af63c6b54bf3409863360e84007eb1c0 /Lib
parent42c28cdd1dbebbf241c1828ffceabf7978ddf566 (diff)
downloadcpython-3e961a5fd141363cc7dc38d4bc9e9e0ff965cd74.zip
cpython-3e961a5fd141363cc7dc38d4bc9e9e0ff965cd74.tar.gz
cpython-3e961a5fd141363cc7dc38d4bc9e9e0ff965cd74.tar.bz2
Enable the only tests for sys.gettrace
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_sys_settrace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_sys_settrace.py b/Lib/test/test_sys_settrace.py
index 43134e9..cf3976c 100644
--- a/Lib/test/test_sys_settrace.py
+++ b/Lib/test/test_sys_settrace.py
@@ -282,11 +282,11 @@ class TraceTestCase(unittest.TestCase):
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