Skip to content

Commit

Permalink
Increased time limit of slow test.
Browse files Browse the repository at this point in the history
  • Loading branch information
hbarthels committed Jul 21, 2020
1 parent ce71605 commit ce51a7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import itertools
import os

from hypothesis import assume, example, given
from hypothesis import assume, example, given, settings
import hypothesis.strategies as st
import pytest
from multiset import Multiset
Expand Down Expand Up @@ -143,6 +143,7 @@ def test_correctness(self, coeffs, c):

@given(st.lists(st.integers(min_value=1, max_value=100), max_size=5), st.integers(min_value=0, max_value=100))
@example([1, 2, 2], 4)
@settings(deadline=400)
def test_completeness(self, coeffs, c):
self._limit_possible_solution_count(coeffs, c)
solutions = set(solve_linear_diop(c, *coeffs))
Expand Down

0 comments on commit ce51a7c

Please sign in to comment.