-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Turn warnings into errors in the test suite #78
Comments
@nicoddemus yeah We can error on warnings with |
Yep, just configure it on [pytest]
filterwarnings =
error |
Hit the first problem: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec() For py2 we need Doing a quick search the dual compatibility fix looks something this. I think we'll need a separate issue for that. |
i wonder if it would work to just go for funcsigs2 on python2 (its a backport) |
If that works I would rather that than cook something up. |
- Fix two correct warnings - Used pytest.warns() around a valid warning being issued Should remove the warning exception for pytest-dev#81 when we tackle that. Fix pytest-dev#78
Currently the test suite is issuing this warnings:
Turning them into errors or at least mark them as "known" is a good way to catch incompatibilities early.
The text was updated successfully, but these errors were encountered: