Skip to content

Commit f9ed683

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

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
@@ -365,9 +365,7 @@ def test_knitro_solver_no_log(tmp_path: Path) -> None:
365365
@pytest.mark.skipif(
366366
"gurobi" not in set(solvers.licensed_solvers), reason="Gurobi is not installed"
367367
)
368-
def test_gurobi_environment_with_dict(
369-
model: Model, tmp_path: Path
370-
) -> None: # noqa: F811
368+
def test_gurobi_environment_with_dict(model: Model, tmp_path: Path) -> None: # noqa: F811
371369
gurobi = solvers.Gurobi()
372370

373371
mps_file = tmp_path / "problem.mps"
@@ -393,9 +391,7 @@ def test_gurobi_environment_with_dict(
393391
@pytest.mark.skipif(
394392
"gurobi" not in set(solvers.licensed_solvers), reason="Gurobi is not installed"
395393
)
396-
def test_gurobi_environment_with_gurobi_env(
397-
model: Model, tmp_path: Path
398-
) -> None: # noqa: F811
394+
def test_gurobi_environment_with_gurobi_env(model: Model, tmp_path: Path) -> None: # noqa: F811
399395
import gurobipy as gp
400396

401397
gurobi = solvers.Gurobi()

0 commit comments

Comments
 (0)