Skip to content

Commit

Permalink
xfail test_decode_surrogate_characters() on Windows PyPy.
Browse files Browse the repository at this point in the history
This feature needs fixing. See #552.
  • Loading branch information
bwoodsend committed Jun 18, 2022
1 parent fb6251e commit 404de1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
python-version: ["pypy-3.8", "3.7", "3.8", "3.9", "3.10", "3.11-dev"]
os: [ubuntu-latest]
include:
- { python-version: "3.10", os: windows-latest }
- { python-version: "3.10", os: macos-latest }
- { python-version: "pypy-3.8", os: windows-latest }
- { python-version: "pypy-3.8", os: macos-latest }
- { python-version: "3.10", os: windows-latest }
- { python-version: "3.10", os: macos-latest }

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 4 additions & 0 deletions tests/test_ujson.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,10 @@ def test_encode_surrogate_characters():
assert ujson.dumps({"\ud800": "\udfff"}, ensure_ascii=False, sort_keys=True) == out2


@pytest.mark.xfail(
hasattr(sys, "pypy_version_info") and os.name == "nt",
reason="This feature needs fixing! See #552",
)
@pytest.mark.parametrize(
"test_input, expected",
[
Expand Down

0 comments on commit 404de1a

Please sign in to comment.