Skip to content

Commit 643b4fb

Browse files
committed
Skip test on 3.10+
The new b32hexencode function means that there's an additional test compared to the recorded output under older versions.
1 parent a65d407 commit 643b4fb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎hypothesis-python/tests/ghostwriter/test_expected_output.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,10 @@ def divide(a: int, b: int) -> float:
101101
.replace("import sre_constants\n", "").replace("sre_constants.", "re."),
102102
),
103103
("re_compile_unittest", ghostwriter.fuzz(re.compile, style="unittest")),
104-
("base64_magic", ghostwriter.magic(base64)),
104+
pytest.param(
105+
("base64_magic", ghostwriter.magic(base64)),
106+
marks=pytest.mark.skipif("sys.version_info[:2] >= (3, 10)"),
107+
),
105108
("sorted_idempotent", ghostwriter.idempotent(sorted)),
106109
("timsort_idempotent", ghostwriter.idempotent(timsort)),
107110
(

0 commit comments

Comments
 (0)