summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authorTom Rondeau2012-04-23 19:09:22 -0400
committerTom Rondeau2012-04-23 19:09:22 -0400
commit4c589268b7145d782194d99c4eade83bc04eaae5 (patch)
tree3550c0204d39f014fc6717e6a36e8420059a2ed8 /gnuradio-core/src
parent70392d37c572ee94ff7a72e35e02f11404c532fd (diff)
downloadgnuradio-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-xgnuradio-core/src/python/gnuradio/gr/qa_dc_blocker.py4
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):