From e26b1ce292366cbee027208e6487bf85d9d1dcfe Mon Sep 17 00:00:00 2001 From: Eivind Jahren Date: Mon, 13 Jan 2025 13:49:51 +0100 Subject: [PATCH] Fix style issue --- tests/ert/unit_tests/test_run_path_creation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ert/unit_tests/test_run_path_creation.py b/tests/ert/unit_tests/test_run_path_creation.py index 9e70ed4734e..356bd8c077a 100644 --- a/tests/ert/unit_tests/test_run_path_creation.py +++ b/tests/ert/unit_tests/test_run_path_creation.py @@ -94,9 +94,9 @@ def test_jobs_json_is_backed_up(make_run_path): assert os.path.exists("simulations/realization-0/iter-0/jobs.json") make_run_path(ert_config) iter0_output_files = os.listdir("simulations/realization-0/iter-0/") - assert ( - len([f for f in iter0_output_files if f.startswith("jobs.json")]) > 1 - ), "No backup created for jobs.json" + assert len([f for f in iter0_output_files if f.startswith("jobs.json")]) > 1, ( + "No backup created for jobs.json" + ) @pytest.mark.usefixtures("use_tmpdir")