mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-12458: Fix line numbers for multiline expressions. (GH-8774)
This commit is contained in:
parent
5e99b56d6b
commit
da8d72c953
9 changed files with 3741 additions and 3709 deletions
|
@ -936,7 +936,7 @@ class TestCAPI(unittest.TestCase):
|
|||
return None
|
||||
|
||||
def track(self, release_gil=False, nframe=1):
|
||||
frames = get_frames(nframe, 2)
|
||||
frames = get_frames(nframe, 1)
|
||||
_testcapi.tracemalloc_track(self.domain, self.ptr, self.size,
|
||||
release_gil)
|
||||
return frames
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue