From d7b71000f2a0cf97976e2361f59d81f7ee2689b9 Mon Sep 17 00:00:00 2001 From: pchtsp Date: Mon, 29 Jan 2024 09:23:27 +0100 Subject: [PATCH] forgot an argument --- pulp/tests/test_pulp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulp/tests/test_pulp.py b/pulp/tests/test_pulp.py index d74d66ed..528fa923 100644 --- a/pulp/tests/test_pulp.py +++ b/pulp/tests/test_pulp.py @@ -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: