Skip to content

Commit 7d81fe6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a9392d3 commit 7d81fe6

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

test/test_solvers.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -373,9 +373,7 @@ def test_knitro_solver_no_log(tmp_path: Path) -> None:
373373
@pytest.mark.skipif(
374374
"gurobi" not in set(solvers.licensed_solvers), reason="Gurobi is not installed"
375375
)
376-
def test_gurobi_environment_with_dict(
377-
model: Model, tmp_path: Path
378-
) -> None: # noqa: F811
376+
def test_gurobi_environment_with_dict(model: Model, tmp_path: Path) -> None: # noqa: F811
379377
gurobi = solvers.Gurobi()
380378

381379
mps_file = tmp_path / "problem.mps"
@@ -401,9 +399,7 @@ def test_gurobi_environment_with_dict(
401399
@pytest.mark.skipif(
402400
"gurobi" not in set(solvers.licensed_solvers), reason="Gurobi is not installed"
403401
)
404-
def test_gurobi_environment_with_gurobi_env(
405-
model: Model, tmp_path: Path
406-
) -> None: # noqa: F811
402+
def test_gurobi_environment_with_gurobi_env(model: Model, tmp_path: Path) -> None: # noqa: F811
407403
import gurobipy as gp
408404

409405
gurobi = solvers.Gurobi()

0 commit comments

Comments
 (0)