10000 Remove old nose testing code by dstansby · Pull Request #9918 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Remove old nose testing code #9918

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 3 commits into from
Mar 4, 2018
Merged

Conversation

dstansby
Copy link
Member
@dstansby dstansby commented Dec 3, 2017

Lots of old code that I guess was used when we used nose for testing. I've just nuked it since it was in an underscored folder, happy to deprecate instead.

@dstansby
Copy link
Member Author
dstansby commented Jan 5, 2018

Not sure why I closed this...

@dstansby dstansby reopened this Jan 5, 2018
@dstansby
Copy link
Member Author
dstansby commented Jan 5, 2018

Ah, I see it's scheduled for removal in 2.3 (3.0?). I'll leave this open and it can always go in when 2.2 is out.

@dstansby dstansby added this to the v3.0 milestone Jan 5, 2018
@dstansby dstansby force-pushed the remove-nose-stuff branch 2 times, most recently from f9687c0 to 96e8c49 Compare February 14, 2018 16:35
Copy link
Member
@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be happy to see this flaky test gone.

@@ -41,23 +41,13 @@ def _knownfailureif(fail_condition, msg=None, known_exception_class=None):
if the exception is an instance of this class. (Default = None)

"""
if is_called_from_pytest():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is private, so we should probably just replace its callers with the direct pytest marker call.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically it is public but we should still do the switch and deprecate it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it isn't. The one being removed below is public, but it's already deprecated. This one is private.

Copy link
Member
@QuLogic QuLogic Feb 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you meant is_called_from_pytest; I meant the function in which this code exists: _knownfailureif.

@dstansby dstansby force-pushed the remove-nose-stuff branch 2 times, most recently from eab4692 to 822d395 Compare February 19, 2018 14:24
Copy link
Contributor
@anntzer anntzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but see @QuLogic's suggestion to just inline _knownfailureif.

@anntzer
Copy link
Contributor
anntzer commented Feb 26, 2018

Let's get this merged asap? There's a flaky test it gets rid of :)

@dstansby dstansby force-pushed the remove-nose-stuff branch from 8fc8bdf to b36367e Compare March 4, 2018 17:43
@dstansby
Copy link
Member Author
dstansby commented Mar 4, 2018

Great, going to wait for the rebased tests to pass and then will merge.

@dstansby dstansby merged commit 7d85cf0 into matplotlib:master Mar 4, 2018
@dstansby dstansby deleted the remove-nose-stuff branch March 4, 2018 19:26
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
0