Skip to content

Commit

Permalink
Remove deadline on integrity test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jun 16, 2020
1 parent 72bd60b commit 0222b1c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_integrity.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import numpy as np

import pytest
from hypothesis import given, assume, settings
from hypothesis import given, settings
import hypothesis.strategies as st
import hypothesis.extra.numpy as nph
import hypothesis.extra.pandas as pdh
Expand Down Expand Up @@ -71,6 +71,7 @@ def test_bad_offset():
assert 'before expected start' in errs[0]


@settings(deadline=None)
@given(st.lists(st.binary(min_size=5), min_size=2, max_size=10), st.data())
def test_bad_checksum_v1(buffers, data):
with TemporaryDirectory() as tmp:
Expand Down Expand Up @@ -107,6 +108,7 @@ def test_bad_checksum_v1(buffers, data):
assert 'invalid checksum' in errs[0]


@settings(deadline=None)
@given(st.lists(st.binary(min_size=5), min_size=2, max_size=10), st.data())
def test_bad_checksum_v2(buffers, data):
with TemporaryDirectory() as tmp:
Expand Down

0 comments on commit 0222b1c

Please sign in to comment.