Skip to content

TST pandas support bar#13255

Merged
dopplershift merged 1 commit into
matplotlib:masterfrom
NelleV:13187_adding_test
Jan 21, 2019
Merged

TST pandas support bar#13255
dopplershift merged 1 commit into
matplotlib:masterfrom
NelleV:13187_adding_test

Conversation

@NelleV

@NelleV NelleV commented Jan 21, 2019

Copy link
Copy Markdown
Member

PR Summary

Adds a smoke test for #13187

@jklymak

jklymak commented Jan 21, 2019

Copy link
Copy Markdown
Member

Well, that was the original code, but the real error was further down in the issue.

... and I didn’t understand well enough what was going on innpandas to write the test.

@dopplershift

Copy link
Copy Markdown
Contributor

IMO there's nothing wrong with a more "integration test"-like thing that describes the desired behavior rather than a very specific test triggering the error.

@NelleV

NelleV commented Jan 21, 2019

Copy link
Copy Markdown
Member Author

When I wrote it, I checked it failed before the patch and passed after.

@jklymak

jklymak commented Jan 21, 2019

Copy link
Copy Markdown
Member

Sure but this test just errors because it’s not the desired behaviour and never worked. (You need to specify width with datetime units somehow). Well we could say that we should be able to infer the width from x which is what @anntzer latest or tries to do.

@tacaswell tacaswell added this to the v3.1 milestone Jan 21, 2019
@NelleV NelleV force-pushed the 13187_adding_test branch from 06e1b07 to dceb32d Compare January 21, 2019 19:59
@NelleV

NelleV commented Jan 21, 2019

Copy link
Copy Markdown
Member Author

@jklymak I agree that a smoke test is not ideal, but it is better than not having a test.

@jklymak

jklymak commented Jan 21, 2019

Copy link
Copy Markdown
Member

I love smoke tests, its just the error was from #13186 (comment)... Hopefully your new test checks that use case...

@jklymak

jklymak commented Jan 21, 2019

Copy link
Copy Markdown
Member

This looks good. not sure whats going on w/ test cov....

@dopplershift

Copy link
Copy Markdown
Contributor

What's confusing you about the coverage?

@jklymak

jklymak commented Jan 21, 2019

Copy link
Copy Markdown
Member

Ooops, it looks fine now

@dopplershift dopplershift merged commit 4f6db14 into matplotlib:master Jan 21, 2019
@NelleV NelleV deleted the 13187_adding_test branch February 5, 2019 19:27
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.

5 participants