Skip to content
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

Fix lxml getargspec warnings #6307

Merged
merged 1 commit into from
Jun 29, 2017
Merged

Conversation

dhomeier
Copy link
Contributor

@dhomeier dhomeier commented Jun 29, 2017

test() was (accidentally, because the original issue is already fixed in pytest) filtering deprecation warnings raised by lxml calling the getargspec() method of inspect in 3.5. Added a filter to also catch the warning in its slightly different 3.6 form.

To address #6301

EDIT: Fix #6301

@bsipocz bsipocz added the 💤 merge-when-ci-passes Do not use: We have auto-merge option now. label Jun 29, 2017
@bsipocz bsipocz added this to the v2.0.0 milestone Jun 29, 2017
@bsipocz bsipocz changed the base branch from v2.0.x to master June 29, 2017 19:08
pytest was (accidentally) filtering deprecation warnings raised
by lxml calling the getargspec() method of inspect in 3.5.
Added a filter to also catch the warning in its slightly different
3.6 form.
@bsipocz bsipocz merged commit 2e8948d into astropy:master Jun 29, 2017
@bsipocz
Copy link
Member

bsipocz commented Jun 29, 2017

Thanks @dhomeier!

@dhomeier dhomeier deleted the lxml-getargspec branch June 30, 2017 00:12
bsipocz added a commit that referenced this pull request Jul 2, 2017
bsipocz added a commit that referenced this pull request Jul 2, 2017
@MSeifert04 MSeifert04 removed the 💤 merge-when-ci-passes Do not use: We have auto-merge option now. label Oct 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DeprecationWarning for inspect.getargspec() raises Error/Fail in pytest-3.6
3 participants