Skip to content

Commit b8d2b82

Browse files
committed
TST, fix for issue pandas-dev#17978.
test_empty was failing due to "hypothesis.errors.FailedHealthCheck" error on travis only, therefore decrease the size for lists.
1 parent 090773b commit b8d2b82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/reshape/test_util.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def test_datetimeindex(self, d):
5151

5252
@settings(max_examples=NO_OF_EXAMPLES_PER_TEST_CASE)
5353
@given(st.lists(st.nothing()),
54-
get_seq((int,), False),
55-
get_seq((str,), False))
54+
get_seq((int,), False, min_size=1, max_size=10),
55+
get_seq((str,), False, min_size=1, max_size=10))
5656
def test_empty(self, empty_list, list_of_int, list_of_str):
5757
# product of empty factors
5858
X = [empty_list, list_of_int, empty_list]

0 commit comments

Comments
 (0)