mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge from 3.2
This commit is contained in:
commit
3484c09c97
1 changed files with 2 additions and 2 deletions
|
@ -283,11 +283,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue