Skip to content

Commit 404de1a

Browse files
committed
xfail test_decode_surrogate_characters() on Windows PyPy.
This feature needs fixing. See #552.
1 parent fb6251e commit 404de1a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
1515
os: [ubuntu-latest]
1616
include:
17-
- { python-version: "3.10", os: windows-latest }
18-
- { python-version: "3.10", os: macos-latest }
1917
- { python-version: "pypy-3.8", os: windows-latest }
2018
- { python-version: "pypy-3.8", os: macos-latest }
19+
- { python-version: "3.10", os: windows-latest }
20+
- { python-version: "3.10", os: macos-latest }
2121

2222
steps:
2323
- uses: actions/checkout@v2

tests/test_ujson.py

+4
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,10 @@ def test_encode_surrogate_characters():
515515
assert ujson.dumps({"\ud800": "\udfff"}, ensure_ascii=False, sort_keys=True) == out2
516516

517517

518+
@pytest.mark.xfail(
519+
hasattr(sys, "pypy_version_info") and os.name == "nt",
520+
reason="This feature needs fixing! See #552",
521+
)
518522
@pytest.mark.parametrize(
519523
"test_input, expected",
520524
[

0 commit comments

Comments
 (0)