X Tutup
Skip to content

Convert remaining test_t* files to pytest.#7889

Merged
NelleV merged 2 commits intomatplotlib:masterfrom
QuLogic:pytest-t-test
Jan 22, 2017
Merged

Convert remaining test_t* files to pytest.#7889
NelleV merged 2 commits intomatplotlib:masterfrom
QuLogic:pytest-t-test

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Jan 20, 2017

"remaining" meaning not covered by the other PRs.

@QuLogic QuLogic added this to the 2.1 (next point release) milestone Jan 20, 2017
@jkseppan
Copy link
Copy Markdown
Member

Looks good to me.

@jkseppan jkseppan changed the title Convert remaining test_t* files to pytest. [MRG+1] Convert remaining test_t* files to pytest. Jan 20, 2017
Copy link
Copy Markdown
Member

@phobson phobson left a comment

Choose a reason for hiding this comment

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

Looks great. Minor, non-blocking comments/questions included

@@ -96,16 +97,21 @@ def test_delaunay_points_in_line():

def test_delaunay_insufficient_points():
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could this test be parametrized or are we not doing that yet?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Done.

from matplotlib.testing.decorators import image_comparison, knownfailureif
import matplotlib.pyplot as plt
from nose.tools import assert_raises
from numpy.testing import assert_array_equal
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is never used AFAICT

@codecov-io
Copy link
Copy Markdown

Current coverage is 62.17% (diff: 100%)

Merging #7889 into master will not change coverage

@@             master      #7889   diff @@
==========================================
  Files           174        174          
  Lines         56121      56121          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits          34896      34896          
  Misses        21225      21225          
  Partials          0          0          

Powered by Codecov. Last update 1be56c8...f1748e8

@NelleV NelleV merged commit 4b47c9b into matplotlib:master Jan 22, 2017
@QuLogic QuLogic deleted the pytest-t-test branch January 22, 2017 02:48
@QuLogic QuLogic changed the title [MRG+1] Convert remaining test_t* files to pytest. Convert remaining test_t* files to pytest. Jan 22, 2017
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

X Tutup