Commit 3e961a5f authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Enable the only tests for sys.gettrace

parent 42c28cdd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment