Skip to content

Commit

Permalink
Merge pull request #119 from ddrabin/master
Browse files Browse the repository at this point in the history
Fix comment typos in test_async_fixture
  • Loading branch information
njsmith authored Apr 30, 2021
2 parents cf641df + 2a8fdaf commit 59da535
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pytest_trio/_tests/test_async_fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ async def test_simple(sync_fix):


# In pytest, ERROR status occurs when an exception is raised in fixture code.
# The trouble is our async fixtures must be run whithin a trio context, hence
# The trouble is our async fixtures must be run within a trio context, hence
# they are actually run just before the test, providing no way to make the
# difference between an exception comming from the real test or from an
# difference between an exception coming from the real test or from an
# async fixture...
@pytest.mark.xfail(reason='Not implemented yet')
def test_raise_in_async_fixture_cause_pytest_error(testdir):
Expand All @@ -133,7 +133,7 @@ async def fix1():
@pytest.mark.trio
async def test_base(fix1):
pass # Crash should have occures before arriving here
pass # Crash should have occurred before arriving here
"""
)

Expand Down

0 comments on commit 59da535

Please sign in to comment.