From 0ddea9f586ffeffd51daf0ab022c58c6feb106e4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 16:59:29 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_tax.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/test_tax.py b/tests/test_tax.py index 92f9840e44..6d5becf346 100644 --- a/tests/test_tax.py +++ b/tests/test_tax.py @@ -1979,7 +1979,7 @@ def test_metagenome_two_queries_with_single_query_output_formats_fail(runtmp): line = line.replace("test1", "test2") + "\n" fp.write(line) - csv_summary_out = runtmp.output("tst.summarized.csv") + runtmp.output("tst.summarized.csv") bioboxes_out = runtmp.output("tst.bioboxes.out") kreport_out = runtmp.output("tst.kreport.txt") @@ -2063,8 +2063,13 @@ def test_metagenome_two_queries_skip_single_query_output_formats(runtmp): in c.last_result.err ) - assert f"saving 'csv_summary' output to '{os.path.basename(csv_summary_out)}'" in runtmp.last_result.err - sum_gather_results = [x.rstrip() for x in Path(csv_summary_out).read_text().splitlines()] + assert ( + f"saving 'csv_summary' output to '{os.path.basename(csv_summary_out)}'" + in runtmp.last_result.err + ) + sum_gather_results = [ + x.rstrip() for x in Path(csv_summary_out).read_text().splitlines() + ] assert ( "query_name,rank,fraction,lineage,query_md5,query_filename,f_weighted_at_rank,bp_match_at_rank" in sum_gather_results[0] @@ -2080,7 +2085,6 @@ def test_metagenome_two_queries_skip_single_query_output_formats(runtmp): ) - def test_metagenome_two_queries_krona(runtmp): # for now, we enable multi-query krona. Is this desired? c = runtmp