Skip to content

Commit 59da535

Browse files
authored
Merge pull request #119 from ddrabin/master
Fix comment typos in test_async_fixture
2 parents cf641df + 2a8fdaf commit 59da535

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pytest_trio/_tests/test_async_fixture.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ async def test_simple(sync_fix):
116116

117117

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

0 commit comments

Comments
 (0)