diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-02-05 13:34:45 -0500 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-02-05 13:34:45 -0500 |
commit | 21dc42548db1fc8aef0f7cc2983414279ecb1480 (patch) | |
tree | f67a8187df31df0d33c7758cc1051960d1c05294 /gnuradio-core/src/python | |
parent | 5019c6a4ff62b4579dac5a0adfcbb3f0a7f2da10 (diff) |
gruel: fixing PMT naming issues with new PMT utilities.
Diffstat (limited to 'gnuradio-core/src/python')
-rwxr-xr-x | gnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py b/gnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py index daf87f912e..86da3d227b 100755 --- a/gnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py +++ b/gnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py @@ -38,9 +38,9 @@ class test_tag_utils (gr_unittest.TestCase): def test_001(self): t = gr.gr_tag_t() t.offset = 10 - t.key = pmt.pmt_string_to_symbol('key') - t.value = pmt.pmt_from_long(23) - t.srcid = pmt.pmt_from_bool(False) + t.key = pmt.string_to_symbol('key') + t.value = pmt.from_long(23) + t.srcid = pmt.from_bool(False) pt = tag_utils.tag_to_python(t) self.assertEqual(pt.key, 'key') self.assertEqual(pt.value, 23) |