We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf7a166 commit 2b6f700Copy full SHA for 2b6f700
projects/arrow-py/fuzz_tzinfo.py
@@ -29,7 +29,11 @@ def TestOneInput(data):
29
try:
30
c1 = arrow.parser.TzinfoParser()
31
c1.parse(tzinfo_string)
32
- except (arrow.parser.ParserError,):
+ except (arrow.parser.ParserError, ValueError):
33
+ # Some inputs may trigger ZoneInfo path validation which raises
34
+ # ValueError (e.g. empty or malformed zone path). Treat these as
35
+ # expected parse errors and ignore them to avoid false positives
36
+ # during check_build.
37
pass
38
39
0 commit comments