diff options
Diffstat (limited to 'gr-blocks/python')
-rw-r--r-- | gr-blocks/python/qa_file_metadata.py | 4 |
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: |