We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0272ab commit 3d0bdf1Copy full SHA for 3d0bdf1
README.rst
@@ -178,6 +178,7 @@ Changelog
178
- The ``forbid_global_loop`` parameter has been removed.
179
- Support for async and async gen fixtures has been added.
180
`#45 <https://github.com/pytest-dev/pytest-asyncio/pull/45>`_
181
+- The deprecation warning regarding ``asyncio.async()`` has been fixed.
182
183
0.5.0 (2016-09-07)
184
~~~~~~~~~~~~~~~~~~
pytest_asyncio/plugin.py
@@ -152,7 +152,8 @@ def pytest_pyfunc_call(pyfuncitem):
152
for arg in pyfuncitem._fixtureinfo.argnames}
153
154
event_loop.run_until_complete(
155
- asyncio.async(pyfuncitem.obj(**testargs), loop=event_loop))
+ asyncio.ensure_future(
156
+ pyfuncitem.obj(**testargs), loop=event_loop))
157
return True
158
159
0 commit comments