Skip to content

Commit da1f162

Browse files
committed
add xfail condition for NumPy 1.24.1
1 parent 7e92635 commit da1f162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/tests/flatsys_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def test_kinematic_car_ocp(
212212
elif re.match("Iteration limit.*", traj_ocp.message) and \
213213
re.match(
214214
"conda ubuntu-3.* Generic", os.getenv('JOBNAME', '')) and \
215-
np.__version__ == '1.24.0':
215+
re.match("1.24.[01]", np.__version__):
216216
pytest.xfail("gh820: iteration limit exceeded")
217217

218218
else:

0 commit comments

Comments
 (0)