Skip to content

Commit a4ba6a8

Browse files
committed
fix tests
1 parent 7c93016 commit a4ba6a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_profiler.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def test_thread_scheduler_single_background_thread(scheduler_class):
360360
"stack_id": 0,
361361
},
362362
],
363-
"stacks": [(0,)],
363+
"stacks": [[0]],
364364
"thread_metadata": thread_metadata,
365365
},
366366
id="single sample in range",
@@ -411,7 +411,7 @@ def test_thread_scheduler_single_background_thread(scheduler_class):
411411
"stack_id": 0,
412412
},
413413
],
414-
"stacks": [(0,)],
414+
"stacks": [[0]],
415415
"thread_metadata": thread_metadata,
416416
},
417417
id="two identical stacks",
@@ -472,7 +472,7 @@ def test_thread_scheduler_single_background_thread(scheduler_class):
472472
"stack_id": 1,
473473
},
474474
],
475-
"stacks": [(0,), (0, 1)],
475+
"stacks": [[0], [0, 1]],
476476
"thread_metadata": thread_metadata,
477477
},
478478
id="two identical frames",
@@ -571,7 +571,7 @@ def test_thread_scheduler_single_background_thread(scheduler_class):
571571
"stack_id": 1,
572572
},
573573
],
574-
"stacks": [(0, 1), (2, 3)],
574+
"stacks": [[0, 1], [2, 3]],
575575
"thread_metadata": thread_metadata,
576576
},
577577
id="two unique stacks",

0 commit comments

Comments
 (0)