Skip to content

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

Merged
charris merged 4 commits into
numpy:masterfrom
seberg:stacklevel+tests
Sep 2, 2016
Merged

ENH,TST: Bump stacklevel and add tests for warnings#7148
charris merged 4 commits into
numpy:masterfrom
seberg:stacklevel+tests

Conversation

@seberg

@seberg seberg commented Jan 30, 2016

Copy link
Copy Markdown
Member

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

seberg commented Jan 30, 2016

Copy link
Copy Markdown
Member Author

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

@seberg

seberg commented Jan 30, 2016

Copy link
Copy Markdown
Member Author

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
Copy Markdown
Member

Note that this is a superset of gh-6424.

@charris

charris commented Feb 1, 2016

Copy link
Copy Markdown
Member

Interesting failures ;)

@homu

homu commented Feb 7, 2016

Copy link
Copy Markdown
Contributor

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

@homu

homu commented Feb 9, 2016

Copy link
Copy Markdown
Contributor

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

@charris

charris commented Feb 29, 2016

Copy link
Copy Markdown
Member

@seberg Needs rebase.

@seberg

seberg commented Feb 29, 2016

Copy link
Copy Markdown
Member Author

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

charris commented Aug 28, 2016

Copy link
Copy Markdown
Member

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

@seberg

seberg commented Aug 29, 2016

Copy link
Copy Markdown
Member Author

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

seberg commented Sep 2, 2016

Copy link
Copy Markdown
Member Author

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

@charris

charris commented Sep 2, 2016

Copy link
Copy Markdown
Member

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

seberg commented Sep 2, 2016

Copy link
Copy Markdown
Member Author

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