Skip to content

Commit

Permalink
🧹 tests: Move comment out of the code (bad style + weird formatting)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegerber committed Apr 4, 2024
1 parent 32d4037 commit edabffe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/dinglehopper/tests/test_integ_ocrd_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit edabffe

Please sign in to comment.