Permalink
Browse files

TST: signal: loosen some error tolerances in the filter tests. Closes g…

  • Loading branch information...
WarrenWeckesser committed Feb 27, 2014
1 parent 4b4620b commit 95b63d10ea435d98e15368a9c057e1d3bfa32f3f
Showing with 2 additions and 2 deletions.
  1. +2 −2 scipy/signal/tests/test_filter_design.py
@@ -460,7 +460,7 @@ def test_bandstop(self):
assert_equal(N, 10)
assert_allclose(Wn, [0.19926249974781743, 0.50125246585567362],
- rtol=1e-15)
+ rtol=1e-6)
def test_analog(self):
wp = [20, 50]
@@ -821,7 +821,7 @@ def test_bandpass(self):
assert_array_equal(z, z2)
assert_allclose(sorted(p, key=np.imag),
sorted(p2, key=np.imag), rtol=1e-13)
- assert_allclose(k, k2, rtol=1e-15)
+ assert_allclose(k, k2, rtol=1e-13)
# bandpass analog
z, p, k = butter(4, [90.5, 110.5], 'bp', analog=True, output='zpk')

0 comments on commit 95b63d1

Please sign in to comment.