Skip to content

Commit fc1cb4f

Browse files
authored
Skip a failing test on OM 3.40 (#467)
* skip test * set OM upper bound
1 parent e645a31 commit fc1cb4f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
package_data={"openaerostruct": ["tests/*.py", "*/tests/*.py", "*/*/tests/*.py"]},
5555
install_requires=[
5656
# Remember to update the oldest versions in docs/installation.rst
57-
"openmdao>=3.35",
57+
"openmdao>=3.35,<=3.39",
5858
"numpy>=1.21",
5959
"scipy>=1.7",
6060
"matplotlib",
@@ -68,3 +68,4 @@
6868
plot_wingbox=openaerostruct.utils.plot_wingbox:disp_plot
6969
""",
7070
)
71+

tests/integration_tests/test_multi_single.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
from openmdao.utils.assert_utils import assert_near_equal
22
import unittest
33

4+
import openmdao
45

6+
# skip this test on OpenMDAO 3.40.0 because it fails due to a bug in OM 3.40.0
7+
@unittest.skipIf(openmdao.__version__ == "3.40.0", "Skipped on OpenMDAO 3.40.0")
58
class Test(unittest.TestCase):
69
def test(self):
710
import numpy as np

0 commit comments

Comments
 (0)