8000 handle lack of $JOBNAME in flatsys properly · python-control/python-control@3955064 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3955064

Browse files
committed
handle lack of $JOBNAME in flatsys properly
1 parent 9837a97 commit 3955064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

control/tests/flatsys_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def test_kinematic_car_ocp(
210210
pytest.xfail("precision loss in some configurations")
211211

212212
elif re.match("Iteration limit.*", traj_ocp.message) and \
213-
re.match("ubuntu-3.* Generic", os.getenv('JOBNAME')) and \
213+
re.match("ubuntu-3.* Generic", os.getenv('JOBNAME', '')) and \
214214
np.__version__ == '1.24.0':
215215
pytest.xfail("gh820: iteration limit exceeded")
216216

0 commit comments

Comments
 (0)
0