Skip to content

Commit fb74bd7

Browse files
committed
this test can go back to normal now!
1 parent a4c8648 commit fb74bd7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

hypothesis-python/tests/nocover/test_duplication.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ def test(b):
5252
test()
5353
except ValueError:
5454
pass
55-
# There are three circumstances in which a duplicate is allowed: We replay
56-
# the failing test once to check for flakiness, once when shrinking to normalize
57-
# to the minimal buffer, and then we replay the fully minimized failing test
58-
# at the end to display the error. The complication comes from the fact that
59-
# these may or may not be the same test case, so we can see either two test
60-
# cases each run twice or one test case which has been run three times.
61-
assert set(counts.values()) in ({1, 2, 3}, {1, 4})
55+
# There are two circumstances in which a duplicate is allowed: We replay
56+
# the failing test once to check for flakiness, and then we replay the
57+
# fully minimized failing test at the end to display the error. The
58+
# complication comes from the fact that these may or may not be the same
59+
# test case, so we can see either two test cases each run twice or one
60+
# test case which has been run three times.
61+
assert set(counts.values()) in ({1, 2}, {1, 3})
6262
assert len([k for k, v in counts.items() if v > 1]) <= 2

0 commit comments

Comments
 (0)