Skip to content

Commit

Permalink
test: skip test on Python 3.13 due to incompatible pre-commit hook `m…
Browse files Browse the repository at this point in the history
…irrors-prettier`
  • Loading branch information
jakob-keller authored and Lee-W committed Aug 11, 2024
1 parent b06c8b6 commit 01fd042
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tests/test_bump_create_commit_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,19 @@ def test_create_tag(test_input, expected):
assert new_tag == expected


@pytest.mark.parametrize("retry", (True, False))
@pytest.mark.parametrize(
"retry",
(
pytest.param(
True,
marks=pytest.mark.skipif(
sys.version_info >= (3, 13),
reason="mirrors-prettier is not supported with Python 3.13 or higher",
),
),
False,
),
)
@pytest.mark.usefixtures("tmp_commitizen_project")
def test_bump_pre_commit_changelog(mocker: MockFixture, freezer, retry):
freezer.move_to("2022-04-01")
Expand Down

0 comments on commit 01fd042

Please sign in to comment.