Skip to content

Commit

Permalink
skipping README test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
slayoo committed Apr 5, 2021
1 parent 497b920 commit c746ae0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions PySDM_tests/devops_tests/test_readme_code.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import exdown
import pathlib
import pytest
import platform

test_readme = exdown.pytests(
# note: skipping Windows to avoid non-UTF encoding trouble
test_readme = pytest.mark.skipif('platform.system() == "Windows"')(exdown.pytests(
pathlib.Path(__file__).parent.parent.parent.joinpath("README.md").absolute(),
syntax_filter="Python"
)
))

0 comments on commit c746ae0

Please sign in to comment.