From: Amaury Forgeot d'Arc Date: Wed, 5 Oct 2011 20:36:05 +0000 (+0200) Subject: Enable the only tests for sys.gettrace X-Git-Tag: v3.2.3rc1~527 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e961a5fd141363cc7dc38d4bc9e9e0ff965cd74;p=thirdparty%2FPython%2Fcpython.git Enable the only tests for sys.gettrace --- diff --git a/Lib/test/test_sys_settrace.py b/Lib/test/test_sys_settrace.py index 43134e98bd49..cf3976c55b0a 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