Skip to content

Commit 5205ad7

Browse files
committed
Correct readme example to @pytest_twisted.async_fixture
1 parent c08c98a commit 5205ad7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ async/await fixtures
9090
``async``/``await`` fixtures can be used along with ``yield`` for normal
9191
pytest fixture semantics of setup, value, and teardown.
9292

93-
@pytest.fixture
93+
@pytest_twisted.async_fixture
9494
async def foo():
9595
d1, d2 = defer.Deferred(), defer.Deferred()
9696
reactor.callLater(0.01, d1.callback, 42)

0 commit comments

Comments
 (0)