Skip to content

Commit

Permalink
tests: exception only for two_columns
Browse files Browse the repository at this point in the history
  • Loading branch information
ubmarco committed Jan 4, 2021
1 parent 8aabb9e commit 2df35bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_cli_ok(path):
"""Check if CLI exits with code 0 when no errors occur."""
runner = CliRunner()
result = runner.invoke(main_cli, [path, '-o', 'out.yaml', '-f', 'yaml'])
if sys.platform.startswith('win'):
if sys.platform.startswith('win') and path == PDF_TWO_COLUMNS:
# TODO bug on Windows currently for PDF_TWO_COLUMNS:
# UnicodeEncodeError('charmap', '\uf0b7 8 1/2', 0, 1, 'character maps to <undefined>')
assert isinstance(result.exception, UnicodeEncodeError)
Expand Down

0 comments on commit 2df35bc

Please sign in to comment.