Skip to content

Commit 92888ed

Browse files
committed
skipif not skip
1 parent e6cb2ab commit 92888ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/validators/test_enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ class MyIntEnum(IntEnum):
378378
assert v_int.validate_python(Decimal(float(value))) is MyIntEnum.VALUE
379379

380380

381-
@pytest.mark.skip(
381+
@pytest.mark.skipif(
382382
sys.version_info >= (3, 13),
383383
reason='Python 3.13+ enum initialization is different, see https://github.com/python/cpython/blob/ec610069637d56101896803a70d418a89afe0b4b/Lib/enum.py#L1159-L1163',
384384
)

tests/validators/test_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ class OtherModel:
13161316
]
13171317

13181318

1319-
@pytest.mark.skip(
1319+
@pytest.mark.skipif(
13201320
sys.version_info >= (3, 13),
13211321
reason='Python 3.13+ enum initialization is different, see https://github.com/python/cpython/blob/ec610069637d56101896803a70d418a89afe0b4b/Lib/enum.py#L1159-L1163',
13221322
)

0 commit comments

Comments
 (0)