Skip to content

Commit 31bfe5b

Browse files
committed
Test also Untrack in test_tracemalloc_track_race()
1 parent d510567 commit 31bfe5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/_testcapimodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3394,6 +3394,7 @@ static void
33943394
tracemalloc_track_race_thread(void *data)
33953395
{
33963396
PyTraceMalloc_Track(123, 10, 1);
3397+
PyTraceMalloc_Untrack(123, 10);
33973398

33983399
PyThread_type_lock lock = (PyThread_type_lock)data;
33993400
PyThread_release_lock(lock);

0 commit comments

Comments
 (0)