Skip to content

Commit

Permalink
skipif not skip
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-runkle committed Sep 19, 2024
1 parent e6cb2ab commit 92888ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/validators/test_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ class MyIntEnum(IntEnum):
assert v_int.validate_python(Decimal(float(value))) is MyIntEnum.VALUE


@pytest.mark.skip(
@pytest.mark.skipif(
sys.version_info >= (3, 13),
reason='Python 3.13+ enum initialization is different, see https://github.com/python/cpython/blob/ec610069637d56101896803a70d418a89afe0b4b/Lib/enum.py#L1159-L1163',
)
Expand Down
2 changes: 1 addition & 1 deletion tests/validators/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ class OtherModel:
]


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

0 comments on commit 92888ed

Please sign in to comment.