Skip to content

Commit bfbcbea

Browse files
committed
Fix test: actually use specific solver, not default (Gurobi)
1 parent f6c95a9 commit bfbcbea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mip_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def test_linexpr_x(solver: str, val: int):
612612
@pytest.mark.parametrize("solver", SOLVERS)
613613
def test_add_column(solver: str):
614614
"""Simple test which add columns in a specific way"""
615-
m = Model()
615+
m = Model(solver_name=solver)
616616
x = m.add_var()
617617

618618
example_constr1 = m.add_constr(x >= 1, "constr1")

0 commit comments

Comments
 (0)