summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_ctrlport_probes.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_ctrlport_probes.py')
-rw-r--r--gr-blocks/python/blocks/qa_ctrlport_probes.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/gr-blocks/python/blocks/qa_ctrlport_probes.py b/gr-blocks/python/blocks/qa_ctrlport_probes.py
index d373bb9fff..a6dadcf6a3 100644
--- a/gr-blocks/python/blocks/qa_ctrlport_probes.py
+++ b/gr-blocks/python/blocks/qa_ctrlport_probes.py
@@ -58,8 +58,8 @@ class test_ctrlport_probes(gr_unittest.TestCase):
# Get available endpoint
ep = gr.rpcmanager_get().endpoints()[0]
- hostname = re.search("-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
- portnum = re.search("-p (\d+)", ep).group(1)
+ 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
@@ -99,8 +99,8 @@ class test_ctrlport_probes(gr_unittest.TestCase):
# Get available endpoint
ep = gr.rpcmanager_get().endpoints()[0]
- hostname = re.search("-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
- portnum = re.search("-p (\d+)", ep).group(1)
+ 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
@@ -139,8 +139,8 @@ class test_ctrlport_probes(gr_unittest.TestCase):
# Get available endpoint
ep = gr.rpcmanager_get().endpoints()[0]
- hostname = re.search("-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
- portnum = re.search("-p (\d+)", ep).group(1)
+ 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
@@ -180,8 +180,8 @@ class test_ctrlport_probes(gr_unittest.TestCase):
# Get available endpoint
ep = gr.rpcmanager_get().endpoints()[0]
- hostname = re.search("-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
- portnum = re.search("-p (\d+)", ep).group(1)
+ 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
@@ -220,8 +220,8 @@ class test_ctrlport_probes(gr_unittest.TestCase):
# Get available endpoint
ep = gr.rpcmanager_get().endpoints()[0]
- hostname = re.search("-h (\S+|\d+\.\d+\.\d+\.\d+)", ep).group(1)
- portnum = re.search("-p (\d+)", ep).group(1)
+ 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