Skip to content

deprecated_call does not revert warning functions back to original#802

Closed
pieterproigia wants to merge 1 commit intopytest-dev:masterfrom
pieterproigia:master
Closed

deprecated_call does not revert warning functions back to original#802
pieterproigia wants to merge 1 commit intopytest-dev:masterfrom
pieterproigia:master

Conversation

@pieterproigia
Copy link
Contributor

Make sure that the warnings.warn and warnings.warn_explicit are reverted
to there original function after running the function in deprecated_call

Make sure that the warnings.warn and warnings.warn_explicit are reverted
to there original function after running the function in deprecated_call
@nicoddemus
Copy link
Member

Thanks for the PR! 😄

Some requests:

  • Can you target this PR to pytest-2.7 instead of master?
  • Please add a new test for the bug in test_recwarn.py, or update an existing one;
  • Add yourself to AUTHORS;
  • Add a note of this issue to the CHANGELOG;

@pieterproigia
Copy link
Contributor Author

New pull request targeted pytest-2.7 in #803

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants