10000 MAINT moved test_compare_images to pytest · matplotlib/matplotlib@091c99c · GitHub
[go: up one dir, main page]

Skip to content

Commit 091c99c

Browse files
committed
MAINT moved test_compare_images to pytest
1 parent 0e17dfe commit 091c99c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/matplotlib/tests/test_compare_images.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
from __future__ import (absolute_import, division, print_function,
22
unicode_literals)
33

4-
import six
5-
64
import os
75
import shutil
86

9-
from nose.tools import assert_equal, assert_not_equal, assert_almost_equal
7+
from numpy.testing import assert_equal, assert_not_equal, assert_almost_equal
108

119
from matplotlib.testing.compare import compare_images
1210
from matplotlib.testing.decorators import _image_directories
@@ -99,8 +97,3 @@ def test_image_compare_shade_difference():
9997

10098
# Now test the reverse comparison.
10199
image_comparison_expect_rms(im2, im1, tol=0, expect_rms=1.0)
102-
103-
104-
if __name__ == '__main__':
105-
import nose
106-
nose.runmodule(argv=['-s', '--with-doctest'], exit=False)

0 commit comments

Comments
 (0)
0