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

Cleanup test `warnings` handling #467

merged 2 commits into from Mar 12, 2012


None yet
2 participants

rpatterson commented Mar 12, 2012

Fixes a 2.7 only faliure and cleans up some other test warnings stuff.

rpatterson added some commits Mar 12, 2012

Switch to the warnings.catch_warnings context manager for testing.
FYI, this test was failing only under 2.7, not 2.6.
Use the warnings.catch_warnings context manager in more places.
Neither 2.7 nor 2.6 with " test" or " nosetests" show
warnings that don't already appear for origin/master.  FYI, under 2.6
with nosetests I see:

    nose/ DeprecationWarning: registerView

mmerickel added a commit that referenced this pull request Mar 12, 2012

Merge pull request #467 from rpatterson/master
Cleanup test `warnings` handling

@mmerickel mmerickel merged commit 3117875 into Pylons:master Mar 12, 2012


This comment has been minimized.

Show comment
Hide comment

mmerickel Mar 12, 2012




mmerickel commented Mar 12, 2012


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