fix py-fuzzer test failure

This commit is contained in:
Douglas Creager
2025-12-13 20:21:50 -05:00
parent 3c811c19d4
commit b9ecab1f24

View File

@@ -288,7 +288,7 @@ def absolute_path(p: str) -> Path:
def parse_seed_argument(arg: str) -> int | range:
"""Helper for argument parsing"""
if "-" in arg:
start, end = map(int, arg.split("-"))
start, end = map(int, arg.split("-")) # ty: ignore
if end <= start:
raise argparse.ArgumentTypeError(
f"Error when parsing seed argument {arg!r}: "