We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c74dc3 commit 6759946Copy full SHA for 6759946
1 file changed
tests/test_dimension.py
@@ -1504,10 +1504,13 @@ def test_stepping_dim_in_condition_lowering(self):
1504
part2 = 'g[t1][x + 1][y + 1] = g[t0][x + 1][y + 1] + 1'
1505
whole_code = str(op.ccode)
1506
1507
- loc = whole_code.find(part1)
1508
- assert loc != -1
1509
- loc = whole_code.find(part2, loc + len(part1))
1510
+ try:
+ loc = whole_code.find(part1)
+ assert loc != -1
+ loc = whole_code.find(part2, loc + len(part1))
1511
1512
+ except AssertionError as e:
1513
+ raise AssertionError(whole_code) from e
1514
1515
def test_expr_like_lowering(self):
1516
"""
0 commit comments