Skip to content

Commit

Permalink
fix(testS): harden/fix xfail with test_continue_arg_with_error
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Apr 3, 2021
1 parent 63bd46f commit ca35dfc
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion testing/test_pdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -3956,7 +3956,13 @@ def fn():
# 6998: character maps to <undefined>.
# So we XFail this test on Windows.
@pytest.mark.xfail(
sys.platform == "win32",
(
sys.platform == "win32" and (
# bpo-41894: fixed in 3.10, backported to 3.9.1 and 3.8.7.
sys.version_info < (3, 8, 7) or
(sys.version_info[:2] == (3, 9) and sys.version_info < (3, 9, 1))
)
),
raises=UnicodeDecodeError,
strict=True,
reason=(
Expand Down

0 comments on commit ca35dfc

Please sign in to comment.