X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/2c90480e1a102ab0fac57737d2ba5143d82abed7..722735d20ebdc66c0da0e0df7658293455694500:/scripts/fuzz.py?ds=sidebyside diff --git a/scripts/fuzz.py b/scripts/fuzz.py index 25362c9..929d3ea 100644 --- a/scripts/fuzz.py +++ b/scripts/fuzz.py @@ -21,7 +21,7 @@ from blib2to3.pgen2.tokenize import TokenError max_examples=1000, # roughly 1k tests/minute, or half that under coverage derandomize=True, # deterministic mode to avoid CI flakiness deadline=None, # ignore Hypothesis' health checks; we already know that - suppress_health_check=HealthCheck.all(), # this is slow and filter-heavy. + suppress_health_check=list(HealthCheck), # this is slow and filter-heavy. ) @given( # Note that while Hypothesmith might generate code unlike that written by @@ -80,7 +80,7 @@ if __name__ == "__main__": try: import sys - import atheris + import atheris # type: ignore[import] except ImportError: pass else: