Skip to content

Commit 1766992

Browse files
committed
Fix test
1 parent a95bdaf commit 1766992

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_profiling/test_sampling_profiler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2716,8 +2716,8 @@ def gil_holding_work():
27162716
27172717
def main():
27182718
# Start both threads
2719-
idle_thread = threading.Thread(target=idle_worker)
2720-
cpu_thread = threading.Thread(target=cpu_active_worker)
2719+
idle_thread = threading.Thread(target=gil_releasing_work)
2720+
cpu_thread = threading.Thread(target=gil_holding_work)
27212721
idle_thread.start()
27222722
cpu_thread.start()
27232723
idle_thread.join()

0 commit comments

Comments
 (0)