summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_peak_detector2.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_peak_detector2.py')
-rw-r--r--gr-blocks/python/blocks/qa_peak_detector2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/python/blocks/qa_peak_detector2.py b/gr-blocks/python/blocks/qa_peak_detector2.py
index 2f2d983993..475897eac2 100644
--- a/gr-blocks/python/blocks/qa_peak_detector2.py
+++ b/gr-blocks/python/blocks/qa_peak_detector2.py
@@ -40,9 +40,9 @@ class test_peak_detector2(gr_unittest.TestCase):
0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
- src = gr.vector_source_f(data, False)
+ src = blocks.vector_source_f(data, False)
regen = blocks.peak_detector2_fb()
- dst = gr.vector_sink_b()
+ dst = blocks.vector_sink_b()
tb.connect(src, regen)
tb.connect(regen, dst)