From 1a059a912fe570f34987d663652ae5806397198f Mon Sep 17 00:00:00 2001 From: Mattwmaster58 Date: Fri, 20 Mar 2020 20:50:04 -0600 Subject: [PATCH] don't use deprecated pytest.yield_fixture in readme --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 9695de4d..99275125 100644 --- a/README.rst +++ b/README.rst @@ -81,7 +81,7 @@ event loop. This will take effect even if you're using the .. code-block:: python - @pytest.yield_fixture() + @pytest.fixture() def event_loop(): loop = MyCustomLoop() yield loop