Skip to content

Commit 324dd8f

Browse files
Merge pull request #7788 from stuartarchibald/fix/failing_debug_line_test
Avoid issue with DI gen for arrayexprs.
2 parents e216bbc + ce84d2a commit 324dd8f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎numba/tests/gdb/test_array_arg.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Test(TestCase):
1212
def test(self):
1313
@njit(debug=True)
1414
def foo(x):
15-
z = 7 + x # break here
15+
z = np.ones_like(x) # break here
1616
return x, z
1717

1818
tmp = np.ones(5)

‎numba/tests/test_gdb_dwarf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _subprocess_test_runner(self, test_mod):
2626
def test_basic(self):
2727
self._subprocess_test_runner('test_basic')
2828

29-
def test_array(self):
29+
def test_array_arg(self):
3030
self._subprocess_test_runner('test_array_arg')
3131

3232
def test_conditional_breakpoint(self):

0 commit comments

Comments
 (0)