eugeniy / pytest-tornado

A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.
Apache License 2.0
121 stars 34 forks source link

pytest 3.1.0 DeprecationWarning #23

Closed tooming closed 5 years ago

tooming commented 7 years ago

After starting using pytest version 3.1.0, which is now including pytest-warnings into the core, I'm getting a DeprecationWarning:

/usr/local/lib/python3.5/dist-packages/pytest_tornado/plugin.py:62: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead spec = inspect.getargspec(func)

pytest changelog: https://docs.pytest.org/en/latest/changelog.html

Jamim commented 5 years ago

Since pytest 4.0.0 is already there this issue is causing errors in CI when pytest is not pinned.