Skip to content

Commit

Permalink
Modif test_run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
paugier committed Aug 26, 2024
1 parent e319326 commit a1af824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def test_create_pythran_files():
if path.name == "subpackages.py":
saved_code = saved_code.replace("(nx, ny) =", "nx, ny =")

code = code.split("__transonic__ = ", 1)[0]
saved_code = saved_code.split("__transonic__ = ", 1)[0]
code = code.split("def __transonic__():", 1)[0]
saved_code = saved_code.split("def __transonic__()", 1)[0]

if backend_default in header_suffixes:
suffix = header_suffixes[backend_default]
Expand Down

0 comments on commit a1af824

Please sign in to comment.