Skip to content

Commit fa6b75b

Browse files
Try removing flaky xfail test (#1439)
1 parent 0946d71 commit fa6b75b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/validators/test_complex.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import math
22
import platform
33
import re
4+
import sys
45

56
import pytest
67

@@ -84,7 +85,7 @@ def test_complex_strict(input_value, expected):
8485

8586

8687
@pytest.mark.xfail(
87-
platform.python_implementation() == 'PyPy',
88+
platform.python_implementation() == 'PyPy' and sys.version_info < (3, 10),
8889
reason='PyPy cannot process this string due to a bug, even if this string is considered valid in python',
8990
)
9091
def test_valid_complex_string_with_space():

0 commit comments

Comments
 (0)