Skip to content

Commit 03bd0a1

Browse files
committed
Skip another problematic test on PyPy/Windows
1 parent ee63a4c commit 03bd0a1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/test_cli/test_show.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
# stdlib
2+
import platform
3+
14
# 3rd party
25
import pytest
36
from coincidence import check_file_regression, min_version, not_pypy, only_version
47
from consolekit.testing import CliRunner, Result
8+
from domdf_python_tools.compat import PYPY36
59
from domdf_python_tools.paths import PathPlus, in_directory
610
from pytest_regressions.file_regression import FileRegressionFixture
711

@@ -30,6 +34,11 @@ def test_version(tmp_repo, file_regression: FileRegressionFixture):
3034
result.check_stdout(file_regression)
3135

3236

37+
@pytest.mark.skipif(
38+
PYPY36 and platform.system() == "Windows",
39+
reason=
40+
"Dulwich causes 'TypeError: os.scandir() doesn't support bytes path on Windows, use Unicode instead'",
41+
)
3342
def test_changelog(tmp_repo, file_regression: FileRegressionFixture):
3443

3544
# TODO: -n/--entries

0 commit comments

Comments
 (0)