summaryrefslogtreecommitdiff
path: root/gr-blocks/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/python')
-rwxr-xr-xgr-blocks/python/qa_message.py4
-rwxr-xr-xgr-blocks/python/qa_pdu.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/gr-blocks/python/qa_message.py b/gr-blocks/python/qa_message.py
index 551fdd6259..a556f65cee 100755
--- a/gr-blocks/python/qa_message.py
+++ b/gr-blocks/python/qa_message.py
@@ -130,7 +130,7 @@ class test_message(gr_unittest.TestCase):
self.assertEquals(tuple(map(ord, '0123456789')), dst.data())
def test_debug_401(self):
- msg = pmt.pmt_intern("TESTING")
+ msg = pmt.intern("TESTING")
src = blocks.message_strobe(msg, 500)
snk = blocks.message_debug()
@@ -142,7 +142,7 @@ class test_message(gr_unittest.TestCase):
tb.wait()
rec_msg = snk.get_message(0)
- self.assertTrue(pmt.pmt_eqv(rec_msg, msg))
+ self.assertTrue(pmt.eqv(rec_msg, msg))
if __name__ == '__main__':
diff --git a/gr-blocks/python/qa_pdu.py b/gr-blocks/python/qa_pdu.py
index b421f9ce63..8f708a2a86 100755
--- a/gr-blocks/python/qa_pdu.py
+++ b/gr-blocks/python/qa_pdu.py
@@ -43,7 +43,7 @@ class test_pdu(gr_unittest.TestCase):
snk = gr.tag_debug(1, "test")
snk.set_display(False)
- dbg = gr.message_debug()
+ dbg = blocks.message_debug()
# Test that the right number of ports exist.
pi = snk3.message_ports_in()