Skip to content

Commit 939940d

Browse files
committed
update tests
1 parent 987e3b5 commit 939940d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

tests/validators/test_dict.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@
1212

1313
from ..conftest import Err, PyAndJson
1414

15-
# Skip OrderedDict tests on GraalPy due to a bug in PyMapping.items()
16-
skip_on_graalpy = pytest.mark.skipif(
17-
sys.implementation.name == 'graalpy',
18-
reason='GraalPy has a bug where PyMapping.items() does not preserve OrderedDict order',
19-
)
20-
2115

2216
def test_dict(py_and_json: PyAndJson):
2317
v = py_and_json({'type': 'dict', 'keys_schema': {'type': 'int'}, 'values_schema': {'type': 'int'}})
@@ -322,7 +316,10 @@ def test_dict_fail_fast(fail_fast, expected):
322316
assert exc_info.value.errors(include_url=False) == expected
323317

324318

325-
@skip_on_graalpy
319+
@pytest.mark.skipif(
320+
sys.implementation.name == 'graalpy',
321+
reason='GraalPy has a bug where PyMapping.items() does not preserve OrderedDict order',
322+
)
326323
@pytest.mark.parametrize('strict', [True, False])
327324
def test_ordered_dict_key_order_preservation(strict):
328325
# GH 12273

0 commit comments

Comments
 (0)