Skip to content

Commit

Permalink
change assert for crash test to fnmatch_lines
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesnatasya committed Oct 7, 2023
1 parent b4f7e4a commit eafd418
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pytest_trio/_tests/test_fixture_ordering.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,11 +357,7 @@ def test_followup():

result = testdir.runpytest()
result.assert_outcomes(passed=1, failed=1)
result.stdout.fnmatch_lines_random(
[
"*CRASH_NONGEN*",
]
)
result.stdout.fnmatch_lines(["*CRASH_NONGEN*"])


@pytest.mark.parametrize("bgmode", ["nursery fixture", "manual nursery"])
Expand Down

0 comments on commit eafd418

Please sign in to comment.