]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Enable the only tests for sys.gettrace
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 5 Oct 2011 20:36:05 +0000 (22:36 +0200)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 5 Oct 2011 20:36:05 +0000 (22:36 +0200)
Lib/test/test_sys_settrace.py

index 43134e98bd49beee75eab8b428596ccb6107555f..cf3976c55b0a23d88c89a44304a05b41f031bfe8 100644 (file)
@@ -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