summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgnuradio-core/src/python/gnuradio/gr/qa_dc_blocker.py4
-rwxr-xr-xgr-digital/python/qa_fll_band_edge.py2
-rw-r--r--gruel/src/lib/pmt/CMakeLists.txt2
3 files changed, 4 insertions, 4 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):
diff --git a/gr-digital/python/qa_fll_band_edge.py b/gr-digital/python/qa_fll_band_edge.py
index 7d89bc9ea..9e4ca079b 100755
--- a/gr-digital/python/qa_fll_band_edge.py
+++ b/gr-digital/python/qa_fll_band_edge.py
@@ -78,7 +78,7 @@ class test_fll_band_edge_cc(gr_unittest.TestCase):
dst_data = self.vsnk_frq.data()[N:]
expected_result = len(dst_data)* [-0.20,]
- self.assertComplexTuplesAlmostEqual (expected_result, dst_data, 4)
+ self.assertFloatTuplesAlmostEqual (expected_result, dst_data, 4)
if __name__ == '__main__':
gr_unittest.run(test_fll_band_edge_cc, "test_fll_band_edge_cc.xml")
diff --git a/gruel/src/lib/pmt/CMakeLists.txt b/gruel/src/lib/pmt/CMakeLists.txt
index dc70f03d7..72bd27a04 100644
--- a/gruel/src/lib/pmt/CMakeLists.txt
+++ b/gruel/src/lib/pmt/CMakeLists.txt
@@ -67,7 +67,7 @@ add_custom_command(
${CMAKE_CURRENT_SOURCE_DIR}/unv_template.h.t
${CMAKE_CURRENT_SOURCE_DIR}/unv_template.cc.t
${CMAKE_CURRENT_SOURCE_DIR}/unv_qa_template.cc.t
- COMMAND ${PYTHON_EXECUTABLE} -B -c
+ COMMAND ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} -c
\"import os,sys\;srcdir='${CMAKE_CURRENT_SOURCE_DIR}'\;sys.path.append(srcdir)\;os.environ['srcdir']=srcdir\;from generate_unv import main\;main()\"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)