Skip to content

Commit

Permalink
Fix package test
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Nov 29, 2023
1 parent 9df70ae commit 3c32f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coconut/tests/src/cocotest/agnostic/main.coco
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def run_main(outer_MatchError, test_easter_eggs=False) -> bool:
if using_tco:
assert hasattr(tco_func, "_coconut_tco_func")
assert tco_test() is True
if outer_MatchError.__module__ != "__main__":
if not outer_MatchError.__module__.endswith("__main__"):
assert package_test(outer_MatchError) is True

print_dot() # .......
Expand Down

0 comments on commit 3c32f23

Please sign in to comment.