diff --git a/test/test_isl.py b/test/test_isl.py index bbd4a813ea12884fede753f428267038cc9b435a..12e7c767082005f34ef7112ce26f3d2c308fd390 100644 --- a/test/test_isl.py +++ b/test/test_isl.py @@ -48,7 +48,7 @@ def test_pw_aff_to_conditional_expr(): from loopy.symbolic import pw_aff_to_expr cond = isl.PwAff("[i] -> { [(0)] : i = 0; [(-1 + i)] : i > 0 }") expr = pw_aff_to_expr(cond) - assert str(expr) == "If(i == 0, 0, -1 + i)" + assert str(expr) == "0 if i == 0 else -1 + i" if __name__ == "__main__":