From: Amaury Forgeot d'Arc Date: Wed, 5 Oct 2011 20:34:51 +0000 (+0200) Subject: Enable the only tests for sys.gettrace X-Git-Tag: v2.7.3rc1~424 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9539d593ecd065b726fa0bbc5c8e97c1d27ca20;p=python Enable the only tests for sys.gettrace --- diff --git a/Lib/test/test_sys_settrace.py b/Lib/test/test_sys_settrace.py index df8c56f758..1f77f9b16b 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.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