Skip to content

TST: test mlab cohere #10019

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 1 commit into from
Dec 18, 2017
Merged

TST: test mlab cohere #10019

merged 1 commit into from
Dec 18, 2017

Conversation

jklymak
Copy link
Member

@jklymak jklymak commented Dec 15, 2017

PR Summary

This is a simple test for mlab.cohere. Would have caught #10003 (fixed by #10004). Mean to close #10012.

Perfectly happy if someone else re-writes to take advantage of the parameterized framework for the rest of the spectral tests just above this test. I still grok that framework because I don't know how to run it locally as a script outside the test environment to see what is going on. For now, I think a dumb test is better than a hypothetical fancy test.

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant

@jklymak jklymak added this to the v2.1.2 milestone Dec 15, 2017
@dstansby
Copy link
Member

If you've added the test, you can do pytest lib/matplotlib/tests/test_mlab.py::test_cohere to just run that single test - was that what you were after?

@jklymak
Copy link
Member Author

jklymak commented Dec 16, 2017

Ahhhh. I see the docs changed. They used to say python py.test lib/matplotlib/tests/test_mlab.py:test_cohere and that needless to say never worked for me! Thats great that its now fixed. It'll make debugging testing scripts much easier! Thanks

@tacaswell tacaswell merged commit 4165d7a into matplotlib:master Dec 18, 2017
lumberbot-app bot pushed a commit that referenced this pull request Dec 18, 2017
tacaswell added a commit that referenced this pull request Dec 19, 2017
@jklymak jklymak deleted the tst-mlab-cohere branch March 5, 2019 16:10
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.

TST: mlab.cohere needs a test
3 participants