]> granicus.if.org Git - python/commitdiff
Enable the only tests for sys.gettrace
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 5 Oct 2011 20:34:51 +0000 (22:34 +0200)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Wed, 5 Oct 2011 20:34:51 +0000 (22:34 +0200)
Lib/test/test_sys_settrace.py

index df8c56f7582291ce278ed6a45a7e29f03aabb838..1f77f9b16bb09bf87f3ba832c784ea37476f881b 100644 (file)
@@ -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