Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Avoid issue with DI gen for arrayexprs.
As title. Alters a test looking for breakpoints on lines that uses
arrayexprs to not use arrayexprs as #7752 leads to the arrayexpr
referencing the source line repeatedly.

Fixes #7787
  • Loading branch information
stuartarchibald committed Jan 26, 2022
commit ce84d2ade9d549445ed2eee300994cd5bb7345c6
2 changes: 1 addition & 1 deletion numba/tests/gdb/test_array_arg.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Test(TestCase):
def test(self):
@njit(debug=True)
def foo(x):
z = 7 + x # break here
z = np.ones_like(x) # break here
return x, z

tmp = np.ones(5)
Expand Down
2 changes: 1 addition & 1 deletion numba/tests/test_gdb_dwarf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def _subprocess_test_runner(self, test_mod):
def test_basic(self):
self._subprocess_test_runner('test_basic')

def test_array(self):
def test_array_arg(self):
self._subprocess_test_runner('test_array_arg')

def test_conditional_breakpoint(self):
Expand Down