Skip to content

Commit

Permalink
Remove redundant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Jan 17, 2022
1 parent d89ba8e commit 8e243c3
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions hypothesis-python/tests/cover/test_testdecorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_int_addition_is_commutative(x, y):


@fails
@given(text(), text())
@given(text(min_size=1), text(min_size=1))
def test_str_addition_is_commutative(x, y):
assert x + y == y + x

Expand Down Expand Up @@ -147,18 +147,6 @@ def test_is_the_answer(x):
assert x == 42


@fails
@given(text(), text())
def test_text_addition_is_not_commutative(x, y):
assert x + y == y + x


@fails
@given(binary(), binary())
def test_binary_addition_is_not_commutative(x, y):
assert x + y == y + x


@given(integers(1, 10))
def test_integers_are_in_range(x):
assert 1 <= x <= 10
Expand Down

0 comments on commit 8e243c3

Please sign in to comment.