diff options
-rw-r--r-- | gr-blocks/python/blocks/qa_pdu.py | 4 |
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() |