Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add Py.test testing framework support #6730
Conversation
mdboom
added the
needs_review
label
Jul 12, 2016
|
Missed several other places, will update PR soon. |
tacaswell
added this to the
2.1 (next point release)
milestone
Jul 12, 2016
story645
added the
Testing
label
Jul 20, 2016
|
Is this a continuation of #5325? |
|
Also, please be aware of https://github.com/matplotlib/pytest-mpl |
Kojoley
changed the title from
Move out from nose specific things in tests to Add Py.test testing framework support
Jul 23, 2016
Kojoley
referenced
this pull request
Aug 3, 2016
Merged
support for updating axis ticks for categorical data #6889
Kojoley
added some commits
Jul 10, 2016
|
Pytest 3.0 released with this change:
|
|
Coverage problem is because of |
|
PR is now ready for review and merge. Key notes:
|
|
It looks like pytest is finding 5 more tests than nose so that is probably a victory. It looks like pep8 is being run by pytest on travis, but not on appveyor, but that is ok for now. There is a big CI hit time wise for this and we will have to (soon) pick some of the nose builds to drop. |
tacaswell
merged commit 84f471e
into matplotlib:master
Aug 23, 2016
tacaswell
removed the
needs_review
label
Aug 23, 2016
I made this intentionally because we have separated pep8 only build on travis so there is no need to run them on all appveyor builds. Or I was wrong? |
|
If anything pep8 should be skipped by travis pytest build. According to the handy output, it is only 45s which is not a big deal on top of our total runtime. |
|
As far as I remember the main reason for splitting pep8 out in a separate build is not so much runtime but making it simpler to spot failures that are due to pep8 only |
|
Should we backport this commit? |
|
This only was crucial for pytest, while nose somehow is fine without the fix. |
Kojoley commentedJul 12, 2016
This PR is part of preparation for migration to
pytest