Skip to content

Commit

Permalink
Merge pull request python-trio#102 from altendky/more_pytest_6_updates
Browse files Browse the repository at this point in the history
Fix a few missed .assert_outcomes(errors=)
  • Loading branch information
njsmith authored Aug 26, 2020
2 parents 0ffd1ea + a8ee6da commit 80c1638
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pytest_trio/_tests/test_async_fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ async def test_base(fix1):

result = testdir.runpytest()

result.assert_outcomes(error=1)
result.assert_outcomes(errors=1)
2 changes: 1 addition & 1 deletion pytest_trio/_tests/test_async_yield_fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ async def test_actual_test(fix1):
result = testdir.runpytest()

# TODO: should trigger error instead of failure
# result.assert_outcomes(error=1)
# result.assert_outcomes(errors=1)
result.assert_outcomes(failed=1)


Expand Down
2 changes: 1 addition & 1 deletion pytest_trio/_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ def test_invalid():

result = testdir.runpytest()

result.assert_outcomes(error=1)
result.assert_outcomes(errors=1)

0 comments on commit 80c1638

Please sign in to comment.