Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH,TST: Bump stacklevel and add tests for warnings #7148

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

Merged
merged 4 commits into from
Sep 2, 2016

Conversation

seberg
Copy link
Member

@seberg seberg commented Jan 30, 2016

This is related (and relies upon the suppressed warnings pull request). The tests will not be successfully (one of them actually checks things only fixed in the other one, and I would be surprised if the stacklevel bump does not create test failures on its own.

@seberg
Copy link
Member Author

seberg commented Jan 30, 2016

Seems the stacklevel bump does not create new warnings on its own, so if wanted, I could split of the tests.

@seberg
Copy link
Member Author

seberg commented Jan 30, 2016

Sorry, no, creates an extra warning on Python 2. (whatever the reason it survives in Python 3, did not check). Are the slow tests not run on travis (or not on python 3)? Since the new test should fail.

@rgommers
Copy link
Member

Note that this is a superset of gh-6424.

@charris
Copy link
Member

charris commented Feb 1, 2016

Interesting failures ;)

@homu
Copy link
Contributor

homu commented Feb 7, 2016

☔ The latest upstream changes (presumably #7181) made this pull request unmergeable. Please resolve the merge conflicts.

@homu
Copy link
Contributor

homu commented Feb 9, 2016

☔ The latest upstream changes (presumably #7194) made this pull request unmergeable. Please resolve the merge conflicts.

@charris
Copy link
Member

charris commented Feb 29, 2016

@seberg Needs rebase.

@seberg
Copy link
Member Author

seberg commented Feb 29, 2016

The test part of this, needs the suppressed warnings thing merged anyway. Can split it off (and do the rebase) though if you like.

@charris charris added this to the 1.12.0 release milestone Apr 16, 2016
@charris
Copy link
Member

charris commented Aug 28, 2016

@seberg suppress_warnings has been merged, what do you want to do with this?

@seberg
Copy link
Member Author

seberg commented Aug 29, 2016

If everyone still likes changing stack level, I guess clean it up and put it in. The test added also checks the other PR though, so will do that first unless you prefer to split the stacklevel stuff off.

@seberg
Copy link
Member Author

seberg commented Sep 2, 2016

OK, rebased against master and (new) tests passing.

@charris
Copy link
Member

charris commented Sep 2, 2016

Ah, another 39 files with modifications. Homu will come calling. Thanks Sebastian ;)

@charris charris merged commit 3dbbfd8 into numpy:master Sep 2, 2016
@seberg seberg deleted the stacklevel+tests branch September 2, 2016 15:07
@seberg
Copy link
Member Author

seberg commented Sep 2, 2016

Hehe :).

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.

4 participants