Skip to content

Commit

Permalink
Skip one test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Dec 27, 2021
1 parent 1241a6c commit dc468aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_invalid_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
from jupytext import TextFileContentsManager, read
from jupytext.cli import jupytext as jupytext_cli

from .utils import skip_on_windows


@pytest.fixture
def invalid_md_file():
return Path(__file__).parent / "invalid_file_896.md"


@skip_on_windows
def test_read_invalid_md_file_fails(invalid_md_file):
with open(invalid_md_file) as fp:
with pytest.raises(UnicodeDecodeError):
Expand Down

0 comments on commit dc468aa

Please sign in to comment.