Skip to content

Commit

Permalink
suppress slow test warning
Browse files Browse the repository at this point in the history
  • Loading branch information
carver committed Aug 28, 2018
1 parent c15ca57 commit f0bf403
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_grammar.py
@@ -1,8 +1,10 @@
import pytest

from hypothesis import (
HealthCheck,
example,
given,
settings,
strategies as st,
)

Expand Down Expand Up @@ -88,6 +90,7 @@ def test_parsing_with_parsimonious_grammar_and_node_visitor_works(type_str, expe
@example('(int, bool)', 6)
@example('(int,bool,)', 11)
@example('(int,(address,uint256[][])', 27)
@settings(suppress_health_check=[HealthCheck.too_slow])
def test_parsing_invalid_type_str_causes_parse_error(type_str, error_col):
if error_col is not None:
pattern = r'Parse error at .* \(column {}\)'.format(error_col)
Expand Down

0 comments on commit f0bf403

Please sign in to comment.