Skip to content

Commit

Permalink
Revert back ruff blunder
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Dec 11, 2024
1 parent 1da0207 commit d2e95b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/ert/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,16 +210,16 @@ def copy_heat_equation(copy_case):
pytest.param(0, marks=pytest.mark.xdist_group(name="snake_oil_case_storage"))
],
)
def fixture_copy_snake_oil_case_storage(shared_snake_oil_case, tmp_path, monkeypatch):
def fixture_copy_snake_oil_case_storage(_shared_snake_oil_case, tmp_path, monkeypatch):
monkeypatch.chdir(tmp_path)
shutil.copytree(shared_snake_oil_case, "test_data")
shutil.copytree(_shared_snake_oil_case, "test_data")
monkeypatch.chdir("test_data")


@pytest.fixture
def copy_heat_equation_storage(shared_heat_equation, tmp_path, monkeypatch):
def copy_heat_equation_storage(_shared_heat_equation, tmp_path, monkeypatch):
monkeypatch.chdir(tmp_path)
shutil.copytree(shared_heat_equation, "heat_equation")
shutil.copytree(_shared_heat_equation, "heat_equation")
monkeypatch.chdir("heat_equation")


Expand Down
4 changes: 2 additions & 2 deletions tests/ert/ui_tests/gui/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,9 @@ def _evaluate(coeffs, x):


@pytest.fixture
def esmda_has_run(esmda_run, tmp_path, monkeypatch):
def esmda_has_run(_esmda_run, tmp_path, monkeypatch):
monkeypatch.chdir(tmp_path)
shutil.copytree(esmda_run, tmp_path, dirs_exist_ok=True)
shutil.copytree(_esmda_run, tmp_path, dirs_exist_ok=True)
with (
_open_main_window(tmp_path / "poly.ert") as (
gui,
Expand Down

0 comments on commit d2e95b8

Please sign in to comment.