File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 12
12
13
13
from ..conftest import Err , PyAndJson
14
14
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
-
21
15
22
16
def test_dict (py_and_json : PyAndJson ):
23
17
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):
322
316
assert exc_info .value .errors (include_url = False ) == expected
323
317
324
318
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
+ )
326
323
@pytest .mark .parametrize ('strict' , [True , False ])
327
324
def test_ordered_dict_key_order_preservation (strict ):
328
325
# GH 12273
You can’t perform that action at this time.
0 commit comments