From 88a14f83bb219fe5ee8dc5cc84ceae7d27576238 Mon Sep 17 00:00:00 2001 From: David Li Date: Thu, 30 Jan 2025 01:56:22 -0500 Subject: [PATCH] fix --- docs/source/tests/test_cookbook.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/source/tests/test_cookbook.py b/docs/source/tests/test_cookbook.py index a2835377a5..06b83f6b07 100644 --- a/docs/source/tests/test_cookbook.py +++ b/docs/source/tests/test_cookbook.py @@ -87,9 +87,7 @@ def test_cookbook_recipe(recipe: Recipe, capsys: pytest.CaptureFixture) -> None: expected = [line for line in source.read().strip().splitlines() if line] output = subprocess.check_output(recipe.executable, text=True) - captured = [ - line for line in output.strip().splitlines() if line - ] + captured = [line for line in output.strip().splitlines() if line] assert captured == expected else: