summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authoreb2008-08-25 19:02:19 +0000
committereb2008-08-25 19:02:19 +0000
commit6975dcd421ebb535035cc319ba45c7e6e86685a8 (patch)
tree930f77f2e75a0b0e590f8ebf81aa62cd478a522d /gnuradio-core/src
parent4f2edd5d1a76fc0a4ab0f4f03db981c0fb97ca1a (diff)
downloadgnuradio-6975dcd421ebb535035cc319ba45c7e6e86685a8.tar.gz
gnuradio-6975dcd421ebb535035cc319ba45c7e6e86685a8.tar.bz2
gnuradio-6975dcd421ebb535035cc319ba45c7e6e86685a8.zip
Relaxed tolerance to fix OS/X 10.5 make check failure.
Merged michaelld/gruel_make_check_osx -r9402:9403 to trunk. Thanks Michael! git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9408 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src')
-rwxr-xr-xgnuradio-core/src/python/gnuradio/gr/qa_goertzel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_goertzel.py b/gnuradio-core/src/python/gnuradio/gr/qa_goertzel.py
index 4e2dcf4fb..d5dc595c9 100755
--- a/gnuradio-core/src/python/gnuradio/gr/qa_goertzel.py
+++ b/gnuradio-core/src/python/gnuradio/gr/qa_goertzel.py
@@ -49,7 +49,7 @@ class test_goertzel(gr_unittest.TestCase):
src_data = self.make_tone_data(rate, freq)
expected_result = 0.5
actual_result = abs(self.transform(src_data, rate, bin)[0])
- self.assertAlmostEqual(expected_result, actual_result, places=5)
+ self.assertAlmostEqual(expected_result, actual_result, places=4)
def test_002(self): # Measure off frequency magnitude
rate = 8000
@@ -58,7 +58,7 @@ class test_goertzel(gr_unittest.TestCase):
src_data = self.make_tone_data(rate, freq)
expected_result = 0.0
actual_result = abs(self.transform(src_data, rate, bin)[0])
- self.assertAlmostEqual(expected_result, actual_result, places=5)
+ self.assertAlmostEqual(expected_result, actual_result, places=4)
if __name__ == '__main__':
gr_unittest.main()