From edabffec7e1309f58f89694bdbcc067f1f74b5e6 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Thu, 4 Apr 2024 19:46:08 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20tests:=20Move=20comment=20out=20?= =?UTF-8?q?of=20the=20code=20(bad=20style=20+=20weird=20formatting)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dinglehopper/tests/test_integ_ocrd_cli.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dinglehopper/tests/test_integ_ocrd_cli.py b/src/dinglehopper/tests/test_integ_ocrd_cli.py index 5bcc189..fbda5f4 100644 --- a/src/dinglehopper/tests/test_integ_ocrd_cli.py +++ b/src/dinglehopper/tests/test_integ_ocrd_cli.py @@ -34,9 +34,8 @@ def test_ocrd_cli(tmp_path): "-O", "OCR-D-OCR-CALAMARI-EVAL", ] - sys.argv[1:] = ( - args # XXX Hack to satisfy ocrd_cli_wrap_processor() check for arguments - ) + # Hack to satisfy ocrd_cli_wrap_processor() check for arguments + sys.argv[1:] = args result = runner.invoke(ocrd_dinglehopper, args) assert result.exit_code == 0 result_json = list((test_workspace_dir / "OCR-D-OCR-CALAMARI-EVAL").glob("*.json"))