From d3714bdedebfcb0b15baea362fc494c78c50b871 Mon Sep 17 00:00:00 2001 From: Sylwester Arabas Date: Mon, 5 Apr 2021 11:00:26 +0200 Subject: [PATCH] bump exdown requirement and use the new encodimg parameter --- PySDM_tests/devops_tests/test_readme_code.py | 9 ++++----- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/PySDM_tests/devops_tests/test_readme_code.py b/PySDM_tests/devops_tests/test_readme_code.py index 82c16ef58..2b20f6126 100644 --- a/PySDM_tests/devops_tests/test_readme_code.py +++ b/PySDM_tests/devops_tests/test_readme_code.py @@ -1,10 +1,9 @@ import exdown import pathlib -import pytest -import sys -test_readme = pytest.mark.skipif("sys.getfilesystemencoding() != 'utf-8'")(exdown.pytests( +test_readme = exdown.pytests( pathlib.Path(__file__).parent.parent.parent.joinpath("README.md").absolute(), - syntax_filter="Python" -)) + syntax_filter="Python", + encoding='utf8' +) diff --git a/requirements.txt b/requirements.txt index 93d27cc83..58786f852 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ matplotlib>=3.2.2 ghapi pytest -exdown +exdown>=0.8.8 # note: if cloning both PySDM and PySDM examples, consider "pip install -e" git+git://github.com/atmos-cloud-sim-uj/PySDM-examples