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 43ff775 commit fa82ac5Copy full SHA for fa82ac5
tests/test_bugbear.py
@@ -5,7 +5,7 @@
5
import subprocess
6
import unittest
7
8
-from hypothesis import given
+from hypothesis import HealthCheck, given, settings
9
from hypothesmith import from_grammar
10
11
from bugbear import BugBearChecker, BugBearVisitor
@@ -298,6 +298,7 @@ def test_selfclean_test_bugbear(self):
298
299
300
class TestFuzz(unittest.TestCase):
301
+ @settings(suppress_health_check=[HealthCheck.too_slow])
302
@given(from_grammar().map(ast.parse))
303
def test_does_not_crash_on_any_valid_code(self, syntax_tree):
304
# Given any syntatically-valid source code, flake8-bugbear should
0 commit comments