File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33from numpy .testing import (assert_allclose , assert_almost_equal ,
44 assert_array_equal , assert_array_almost_equal_nulp )
5- import numpy .ma .testutils as matest
65import numpy as np
76import datetime as datetime
87import pytest
Original file line number Diff line number Diff line change 77from matplotlib .testing .decorators import image_comparison
88from matplotlib import pyplot as plt
99import matplotlib .cm as cm
10- import sys
11- on_win = (sys .platform == 'win32' )
1210
1311
1412@image_comparison (baseline_images = ['pngsuite' ], extensions = ['png' ],
Original file line number Diff line number Diff line change 11import numpy as np
2- import matplotlib .pyplot as plt
3- import matplotlib .tri as mtri
4- import pytest
5- from numpy .testing import assert_array_equal , assert_array_almost_equal ,\
6- assert_array_less
2+ from numpy .testing import (
3+ assert_array_equal , assert_array_almost_equal , assert_array_less )
74import numpy .ma .testutils as matest
8- from matplotlib .testing .decorators import image_comparison
5+ import pytest
6+
97import matplotlib .cm as cm
8+ import matplotlib .pyplot as plt
9+ import matplotlib .tri as mtri
1010from matplotlib .path import Path
11-
12- import sys
13- on_win = (sys .platform == 'win32' )
11+ from matplotlib .testing .decorators import image_comparison
1412
1513
1614def test_delaunay ():
@@ -729,8 +727,7 @@ def z(x, y):
729727 dic_interp = {'lin' : linear_interp ,
730728 'min_E' : cubic_min_E ,
731729 'geom' : cubic_geom }
732- # Testing that the interpolation is invariant by expansion along
733- # 1 axis...
730+ # Test that the interpolation is invariant by expansion along 1 axis...
734731 for interp_key in ['lin' , 'min_E' , 'geom' ]:
735732 interpz = dic_interp [interp_key ](xs , ys )
736733 matest .assert_array_almost_equal (interpz , interp_z0 [interp_key ])
You can’t perform that action at this time.
0 commit comments