Skip to content

Commit cd961cc

Browse files
committed
fix up a bunch of pytest.raises calls.
I changed func,x,y into func(x,y) by mistake, and hadn't changed a few back.
1 parent 0f9fae8 commit cd961cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_mlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ def test_psd_detrend_mean_str_offset(self):
16231623
assert_allclose(spec_g, spec_c, atol=1e-08)
16241624
# these should not be almost equal
16251625
pytest.raises(AssertionError,
1626-
assert_allclose(spec_b, spec_c, atol=1e-08))
1626+
assert_allclose, spec_b, spec_c, atol=1e-08)
16271627

16281628
def test_psd_detrend_linear_func_trend(self):
16291629
if self.NFFT_density is None:

0 commit comments

Comments
 (0)