mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Enable the only tests for sys.gettrace
This commit is contained in:
parent
41d663f0a5
commit
c9539d593e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue