diff options
author | Tom Rondeau | 2012-04-23 19:09:22 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-04-23 19:09:22 -0400 |
commit | 4c589268b7145d782194d99c4eade83bc04eaae5 (patch) | |
tree | 3550c0204d39f014fc6717e6a36e8420059a2ed8 /gnuradio-core/src | |
parent | 70392d37c572ee94ff7a72e35e02f11404c532fd (diff) | |
download | gnuradio-4c589268b7145d782194d99c4eade83bc04eaae5.tar.gz gnuradio-4c589268b7145d782194d99c4eade83bc04eaae5.tar.bz2 gnuradio-4c589268b7145d782194d99c4eade83bc04eaae5.zip |
Various fixes for using Python 2.5.
Diffstat (limited to 'gnuradio-core/src')
-rwxr-xr-x | gnuradio-core/src/python/gnuradio/gr/qa_dc_blocker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_dc_blocker.py b/gnuradio-core/src/python/gnuradio/gr/qa_dc_blocker.py index 0f6fa86f5..175735867 100755 --- a/gnuradio-core/src/python/gnuradio/gr/qa_dc_blocker.py +++ b/gnuradio-core/src/python/gnuradio/gr/qa_dc_blocker.py @@ -46,7 +46,7 @@ class test_dc_blocker(gr_unittest.TestCase): # only test samples around 2D-2 result_data = dst.data()[60:65] - self.assertFloatTuplesAlmostEqual (expected_result, result_data) + self.assertComplexTuplesAlmostEqual (expected_result, result_data) def test_002(self): ''' Test impulse response - short form, cc ''' @@ -64,7 +64,7 @@ class test_dc_blocker(gr_unittest.TestCase): # only test samples around D-1 result_data = dst.data()[29:34] - self.assertFloatTuplesAlmostEqual (expected_result, result_data) + self.assertComplexTuplesAlmostEqual (expected_result, result_data) def test_003(self): |