summaryrefslogtreecommitdiff
path: root/gr-blocks/python/qa_threshold.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/qa_threshold.py')
-rw-r--r--gr-blocks/python/qa_threshold.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/python/qa_threshold.py b/gr-blocks/python/qa_threshold.py
index f91af739ad..352a14da9e 100644
--- a/gr-blocks/python/qa_threshold.py
+++ b/gr-blocks/python/qa_threshold.py
@@ -38,9 +38,9 @@ class test_threshold(gr_unittest.TestCase):
expected_result = (0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1)
- src = gr.vector_source_f(data, False)
+ src = blocks.vector_source_f(data, False)
op = blocks.threshold_ff(1, 1)
- dst = gr.vector_sink_f()
+ dst = blocks.vector_sink_f()
tb.connect(src, op)
tb.connect(op, dst)