@@ -78,7 +78,7 @@ def test_info_args(
7878):
7979 app .breakpoint (breakpoint )
8080 app .run (script )
81- app .expect_hit_breakpoint (breakpoint )
81+ app .expect_hit_breakpoint (expected_location = breakpoint )
8282 app .expect (expected_line , with_eol = True )
8383
8484 if kind == "info" :
@@ -99,7 +99,7 @@ def test_info_args(
9999def test_info_functions (app ):
100100 app .breakpoint ("simple_sum.py:12" )
101101 app .run ("simple_sum.py" )
102- app .expect_hit_breakpoint ("simple_sum.py:12" )
102+ app .expect_hit_breakpoint (expected_location = "simple_sum.py:12" )
103103 app .expect (r"12\s+i = item.get_id\(0\)" , with_eol = True )
104104
105105 app .info_functions ("data_parallel_sum" )
@@ -119,7 +119,7 @@ def test_print_array_element(app, api):
119119
120120 app .breakpoint ("side-by-side-2.py:17" , condition = "param_a == 5" )
121121 app .run (f"side-by-side-2.py --api={ api } " )
122- app .expect_hit_breakpoint ("side-by-side-2.py:17" )
122+ app .expect_hit_breakpoint (expected_location = "side-by-side-2.py:17" )
123123
124124 # We can access only c_array, not python style array
125125 app .print ("b.data[5]" , 5 )
@@ -142,7 +142,7 @@ def test_print_array_element(app, api):
142142def test_assignment_to_variable (app , api , assign ):
143143 app .breakpoint ("side-by-side-2.py:17" , condition = "param_a == 5" )
144144 app .run (f"side-by-side-2.py --api={ api } " )
145- app .expect_hit_breakpoint ("side-by-side-2.py:17" )
145+ app .expect_hit_breakpoint (expected_location = "side-by-side-2.py:17" )
146146
147147 app .print ("param_a" , expected = 5 )
148148 if assign == "print" :
0 commit comments