summaryrefslogtreecommitdiff
path: root/gr-blocks/python
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-04-05 18:57:19 -0400
committerTom Rondeau <trondeau@vt.edu>2013-04-05 18:57:19 -0400
commitaf9da9967a67b08da551a1488e60d3b2f37f5e66 (patch)
tree1f607d624afe3ca9bfb69a8f10f9f6ee14fa3020 /gr-blocks/python
parent906a6106223629091be19ef384688a36cae9fd76 (diff)
blocks: remove use of assertGreater in test to go back to support Python 2.5.
Diffstat (limited to 'gr-blocks/python')
-rw-r--r--gr-blocks/python/qa_file_metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-blocks/python/qa_file_metadata.py b/gr-blocks/python/qa_file_metadata.py
index 3112ea69b0..de571303f7 100644
--- a/gr-blocks/python/qa_file_metadata.py
+++ b/gr-blocks/python/qa_file_metadata.py
@@ -79,7 +79,7 @@ class test_file_metadata(gr_unittest.TestCase):
info = parse_file_metadata.parse_header(header, False)
extra_str = handle.read(info["extra_len"])
- self.assertGreater(len(extra_str), 0)
+ self.assertEquals(len(extra_str) > 0, True)
handle.close()
try:
@@ -158,7 +158,7 @@ class test_file_metadata(gr_unittest.TestCase):
info = parse_file_metadata.parse_header(header, False)
extra_str = handle.read(info["extra_len"])
- self.assertGreater(len(extra_str), 0)
+ self.assertEquals(len(extra_str) > 0, True)
handle.close()
try: