Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3179797

Browse files
committed
TST: fix test coverage
1 parent 0aa344b commit 3179797

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/matplotlib/tests/test_colors.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ def test_DivergingNorm_VminGTVcenter():
287287
vals = np.arange(50)
288288
with pytest.raises(ValueError):
289289
norm = mcolors.DivergingNorm(vmin=10, vcenter=0, vmax=20)
290-
norm(vals)
291290

292291

293292
def test_DivergingNorm_DivergingNorm_VminGTVmax():
@@ -299,7 +298,6 @@ def test_DivergingNorm_VcenterGTVmax():
299298
vals = np.arange(50)
300299
with pytest.raises(ValueError):
301300
norm = mcolors.DivergingNorm(vmin=10, vcenter=25, vmax=20)
302-
norm(vals)
303301

304302

305303
def test_DivergingNorm_premature_scaling():

0 commit comments

Comments
 (0)