Skip to content

DeprecationWarning: asyncio.async() function is deprecated, use ensure_future() #50

Closed
@adamrothman

Description

@adamrothman

I am getting a ton of these warnings during test runs:

.tox/py36/lib/python3.6/site-packages/pytest_asyncio/plugin.py:77: DeprecationWarning: asyncio.async() function is deprecated, use ensure_future()
    asyncio.async(pyfuncitem.obj(**testargs), loop=event_loop))

Environment:

  • Python 3.6.1
  • pytest 3.1.0
  • pytest-asyncio 0.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions