@@ -78,7 +78,7 @@ def test_info_args(
78
78
):
79
79
app .breakpoint (breakpoint )
80
80
app .run (script )
81
- app .expect_hit_breakpoint (breakpoint )
81
+ app .expect_hit_breakpoint (expected_location = breakpoint )
82
82
app .expect (expected_line , with_eol = True )
83
83
84
84
if kind == "info" :
@@ -99,7 +99,7 @@ def test_info_args(
99
99
def test_info_functions (app ):
100
100
app .breakpoint ("simple_sum.py:12" )
101
101
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" )
103
103
app .expect (r"12\s+i = item.get_id\(0\)" , with_eol = True )
104
104
105
105
app .info_functions ("data_parallel_sum" )
@@ -119,7 +119,7 @@ def test_print_array_element(app, api):
119
119
120
120
app .breakpoint ("side-by-side-2.py:17" , condition = "param_a == 5" )
121
121
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" )
123
123
124
124
# We can access only c_array, not python style array
125
125
app .print ("b.data[5]" , 5 )
@@ -142,7 +142,7 @@ def test_print_array_element(app, api):
142
142
def test_assignment_to_variable (app , api , assign ):
143
143
app .breakpoint ("side-by-side-2.py:17" , condition = "param_a == 5" )
144
144
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" )
146
146
147
147
app .print ("param_a" , expected = 5 )
148
148
if assign == "print" :
0 commit comments