Fix flaky durations test

Unfortunately due to fluctuations in runtime "test_something"
might still appear in the final message.

Example failure:

https://ci.appveyor.com/project/pytestbot/pytest/builds/19494829/job/8lx847u0c78m63wf
This commit is contained in:
Bruno Oliveira 2018-10-14 12:22:56 -03:00
parent c6c326f076
commit 486ded3fca
1 changed files with 0 additions and 1 deletions

View File

@ -808,7 +808,6 @@ class TestDurations(object):
result.stdout.fnmatch_lines_random(
["*durations*", "*call*test_3*", "*call*test_2*"]
)
assert "test_something" not in result.stdout.str()
result.stdout.fnmatch_lines(
["(0.00 durations hidden. Use -vv to show these durations.)"]
)