Skip to content

Commit

Permalink
Merge pull request #110 from marrink-lab/faster-hypo
Browse files Browse the repository at this point in the history
Reduce the problem size in test_gro hypothesis tests
  • Loading branch information
jbarnoud committed Sep 13, 2018
2 parents 4544415 + 0dbe676 commit 315b20e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ install:
- pip install --upgrade -r requirements-tests.txt
- pip install --upgrade .
script:
- pytest -vv --cov=vermouth vermouth
- pytest -vv --cov=vermouth vermouth --hypothesis-show-statistics
after_success:
- codecov
addons:
Expand Down
2 changes: 1 addition & 1 deletion vermouth/tests/gmx/test_gro.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ def generate_dict(draw, min_size=None):
st.text(), st.integers(), st.floats(),
hnp.arrays(dtype=hnp.scalar_dtypes(), shape=hnp.array_shapes())
)
dict_a = draw(st.dictionaries(keys, values, min_size=min_size))
dict_a = draw(st.dictionaries(keys, values, min_size=min_size, max_size=10))
return dict_a


Expand Down

0 comments on commit 315b20e

Please sign in to comment.