From 00a62daeff6120515c143b4985250d21ba4d490b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 18:59:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/conftest.py | 1 - tests/test_beast.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index b133db7..f06168d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -57,7 +57,6 @@ def assert_expected(self, expected_files: Optional[TargetsType] = None, diff_on_ # If different then write the diff if diff_on_fail: with open(generated_path) as generated, open(expected_path) as expected: - generated_lines = generated.readlines() expected_lines = expected.readlines() diff --git a/tests/test_beast.py b/tests/test_beast.py index 1de7c8a..f539560 100644 --- a/tests/test_beast.py +++ b/tests/test_beast.py @@ -46,7 +46,6 @@ def _count_taxa(statefile: Path) -> int: def test_onlinebeast(run_workflow): - workflow = run_workflow("results/beast/expected-2-online_beast.xml.state", inherit=True) # Ensure we have one more taxa than the inherited run