We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d21fc commit 35a40fcCopy full SHA for 35a40fc
tests/test_run_release.py
@@ -32,7 +32,14 @@ def test_invalid_extract_github_owner() -> None:
32
run_release.extract_github_owner("https://example.com")
33
34
35
-def test_check_magic_number() -> None:
+@pytest.mark.parametrize("tag", ["3.12", "3.13"])
36
+def test_check_magic_number(tag) -> None:
37
+ db = {"release": Tag(tag)}
38
+ # Should return early with no error for 3.13 and earlier
39
+ run_release.check_magic_number(cast(ReleaseShelf, db))
40
+
41
42
+def test_check_magic_number_exception() -> None:
43
db = {
44
"release": Tag("3.14.0rc1"),
45
"git_repo": str(Path(__file__).parent / "magicdata"),
0 commit comments