Skip to content

Commit

Permalink
Merge branch 'function-as-arg' of https://github.com/jrenaud90/CyRK i…
Browse files Browse the repository at this point in the history
…nto function-as-arg
  • Loading branch information
jrenaud90 committed Jul 25, 2024
2 parents 461244b + 1240ab2 commit 309a8d6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Tests/F_CySolver_Tests/test_a_cysolve_ivp.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,8 @@ def test_cysolve_ivp_all_diffeqs(cysolve_test_func):
cytester(cysolve_test_func)

# There is a weird fail state that occasionally happens on MacOS for Python 3.10 where diffeq #5 fails.
# Try it again if it happens.
failed_twice = False
if not result.success and on_macos and cysolve_test_func==5:
while not failed_twice:
result = cytester(cysolve_test_func)

if result.success:
break
else:
failed_twice = True
pytest.skip("Weird macos bug on diffeq5")

assert result.success
assert result.t.size > 0
Expand Down

0 comments on commit 309a8d6

Please sign in to comment.