Enable the only tests for sys.gettrace
This commit is contained in:
parent
42c28cdd1d
commit
3e961a5fd1
@ -282,11 +282,11 @@ class TraceTestCase(unittest.TestCase):
|
|||||||
self.compare_events(func.__code__.co_firstlineno,
|
self.compare_events(func.__code__.co_firstlineno,
|
||||||
tracer.events, func.events)
|
tracer.events, func.events)
|
||||||
|
|
||||||
def set_and_retrieve_none(self):
|
def test_set_and_retrieve_none(self):
|
||||||
sys.settrace(None)
|
sys.settrace(None)
|
||||||
assert sys.gettrace() is None
|
assert sys.gettrace() is None
|
||||||
|
|
||||||
def set_and_retrieve_func(self):
|
def test_set_and_retrieve_func(self):
|
||||||
def fn(*args):
|
def fn(*args):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user