summaryrefslogtreecommitdiff
path: root/gr-blocks/python/blocks/qa_socket_pdu.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python/blocks/qa_socket_pdu.py')
-rw-r--r--[-rwxr-xr-x]gr-blocks/python/blocks/qa_socket_pdu.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-blocks/python/blocks/qa_socket_pdu.py b/gr-blocks/python/blocks/qa_socket_pdu.py
index db9f53c71e..60da3d6bdd 100755..100644
--- a/gr-blocks/python/blocks/qa_socket_pdu.py
+++ b/gr-blocks/python/blocks/qa_socket_pdu.py
@@ -20,6 +20,7 @@
# Boston, MA 02110-1301, USA.
#
+
from gnuradio import gr, gr_unittest, blocks
import random
import pmt
@@ -67,7 +68,7 @@ class qa_socket_pdu (gr_unittest.TestCase):
received = self.dbg.get_message(0)
received_data = pmt.cdr(received)
msg_data = []
- for i in xrange(4):
+ for i in range(4):
msg_data.append(pmt.u8vector_ref(received_data, i))
self.assertEqual(srcdata, tuple(msg_data))