summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_cpp_py_binding_set.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_cpp_py_binding_set.py')
-rw-r--r--gr-blocks/python/blocks/qa_cpp_py_binding_set.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-blocks/python/blocks/qa_cpp_py_binding_set.py b/gr-blocks/python/blocks/qa_cpp_py_binding_set.py
index 925871e75f..80e0131d21 100644
--- a/gr-blocks/python/blocks/qa_cpp_py_binding_set.py
+++ b/gr-blocks/python/blocks/qa_cpp_py_binding_set.py
@@ -122,11 +122,10 @@ class test_cpp_py_binding_set(gr_unittest.TestCase):
ep = gr.rpcmanager_get().endpoints()[0]
hostname = re.search(r"-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
portnum = re.search(r"-p (\d+)", ep).group(1)
- argv = [None, hostname, portnum]
# Initialize a simple ControlPort client from endpoint
from gnuradio.ctrlport.GNURadioControlPortClient import GNURadioControlPortClient
- radiosys = GNURadioControlPortClient(argv=argv, rpcmethod='thrift')
+ radiosys = GNURadioControlPortClient(hostname, portnum, rpcmethod='thrift')
radio = radiosys.client
self.tb.start()