summaryrefslogtreecommitdiff
path: root/gr-blocks/python
diff options
context:
space:
mode:
authorAndrej Rode <mail@andrejro.de>2018-09-01 03:12:21 +0200
committerAndrej Rode <mail@andrejro.de>2018-09-01 03:12:21 +0200
commit7b20b28a9e5aa4e32ee37e89e7f80d74485344e8 (patch)
treec6120f5993f82daf13894e8bf905c4169493152e /gr-blocks/python
parent140cd70c755f08cbe3ed20432cf68acf0e32ff3f (diff)
pdu: pass from_long(1) to "done" due to failing implicit casting from long
Diffstat (limited to 'gr-blocks/python')
-rw-r--r--gr-blocks/python/blocks/qa_pdu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/python/blocks/qa_pdu.py b/gr-blocks/python/blocks/qa_pdu.py
index 3ee5e576ea..6ab841dac7 100644
--- a/gr-blocks/python/blocks/qa_pdu.py
+++ b/gr-blocks/python/blocks/qa_pdu.py
@@ -64,7 +64,7 @@ class test_pdu(gr_unittest.TestCase):
# post the message
src.to_basic_block()._post(port, msg)
src.to_basic_block()._post(pmt.intern("system"),
- pmt.cons(pmt.intern("done"), pmt.PMT_T))
+ pmt.cons(pmt.intern("done"), pmt.from_long(1)))
self.tb.start()
self.tb.wait()
@@ -99,7 +99,7 @@ class test_pdu(gr_unittest.TestCase):
msg = pmt.cons( pmt.PMT_NIL, pmt.init_f32vector(10, src_data))
src.to_basic_block()._post(port, msg)
src.to_basic_block()._post(pmt.intern("system"),
- pmt.cons(pmt.intern("done"), pmt.PMT_T))
+ pmt.cons(pmt.intern("done"), pmt.from_long(1)))
self.tb.start()
self.tb.wait()