Skip to content

Commit

Permalink
forgot an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pchtsp committed Jan 29, 2024
1 parent 1a322bd commit d7b7100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulp/tests/test_pulp.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def skip_wrapper(test_obj, *args, **kwargs):
if gp is None:
raise unittest.SkipTest("No gurobipy, can't check license")
try:
return test_item(*args, **kwargs)
return test_item(test_obj, *args, **kwargs)
except gp.GurobiError as ge:
# Skip the test if the failure was due to licensing
if ge.errno == gp.GRB.Error.SIZE_LIMIT_EXCEEDED:
Expand Down

0 comments on commit d7b7100

Please sign in to comment.