summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py10
1 files changed, 4 insertions, 6 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 daf87f912..d0c2f2f22 100755
--- a/gnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py
+++ b/gnuradio-core/src/python/gnuradio/gr/qa_tag_utils.py
@@ -22,9 +22,7 @@
from gnuradio import gr, gr_unittest
import tag_utils
-
-try: from gruel import pmt
-except: import pmt
+import pmt
class test_tag_utils (gr_unittest.TestCase):
@@ -38,9 +36,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)