Skip to content

Commit cb17009

Browse files
authored
Update terminology: funcargs are fixtures (#67)
Update terminology: funcargs are fixtures
2 parents 81b91f1 + 3769148 commit cb17009

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ is to ``import pytest_twisted as pt``.
5353
inlineCallbacks
5454
===============
5555
Using ``twisted.internet.defer.inlineCallbacks`` as a decorator for test
56-
functions, which take funcargs, does not work. Please use
56+
functions, which use fixtures, does not work. Please use
5757
``pytest_twisted.inlineCallbacks`` instead::
5858

5959
@pytest_twisted.inlineCallbacks
@@ -65,7 +65,7 @@ functions, which take funcargs, does not work. Please use
6565
ensureDeferred
6666
==============
6767
Using ``twisted.internet.defer.ensureDeferred`` as a decorator for test
68-
functions, which take funcargs, does not work. Please use
68+
functions, which use fixtures, does not work. Please use
6969
``pytest_twisted.ensureDeferred`` instead::
7070

7171
@pytest_twisted.ensureDeferred
@@ -89,7 +89,7 @@ The twisted greenlet
8989
====================
9090
Some libraries (e.g. corotwine) need to know the greenlet, which is
9191
running the twisted reactor. It's available from the
92-
``twisted_greenlet`` funcarg. The following code can be used to make
92+
``twisted_greenlet`` fixture. The following code can be used to make
9393
corotwine work with pytest-twisted::
9494

9595
@pytest.fixture(scope="session", autouse=True)

0 commit comments

Comments
 (0)