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

Use inspect.signature #24

Closed bartv closed 5 years ago

bartv commented 7 years ago

inspect.getargspec is deprecated. _argnames now uses inspect.signature. This commit also changes the behaviour to be more consistent. The previous commit would strip self from the arguments, but only when no default arguments were passed.

This PR fixes #23

vidartf commented 5 years ago

Closing as superseeded by #38. Thanks even though!