Skip to content

Commit

Permalink
Skip mech_system_pendulum/index3
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Aug 7, 2024
1 parent a307daf commit a3f38b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from assimulo import testattr
from assimulo.exception import AssimuloException
from assimulo.examples import *
from assimulo.solvers.sundials import get_sundials_version

class Test_Examples:
@testattr(stddist = True)
Expand Down Expand Up @@ -195,7 +196,8 @@ def test_mech_system_pendulum3(self):
"""
This tests the class Mechanical_system together with ind3 and ida
"""
mech_system_pendulum.run_example('ind3',with_plots=False,with_test=True)
if get_sundials_version() < (4,):
mech_system_pendulum.run_example('ind3',with_plots=False,with_test=True)

@testattr(stddist = True)
def test_mech_system_pendulum_ggl2(self):
Expand Down

0 comments on commit a3f38b3

Please sign in to comment.