Permalink
Browse files

Unequal raw text retrieval in Bio.SearchIO index tests now results in…

… a failure.
  • Loading branch information...
bow authored and peterjc committed Dec 5, 2012
1 parent 48c4ec6 commit 3fd337df8233ea3f029939f3f89ede5e637256dd
Showing with 1 addition and 7 deletions.
  1. +1 −7 Tests/test_SearchIO_index.py
@@ -40,13 +40,7 @@ def check_raw(self, filename, id, raw, **kwargs):
#Now again, but using SQLite backend
if sqlite3:
idx = SearchIO.index_db(":memory:", filename, self.fmt, **kwargs)
- #TODO - Fix mismatch between record length and get_raw behaviour
- raw2 = idx.get_raw(id)
- if raw != raw2:
- print "[WARNING - %s get_raw %i vs %i bytes] " \
- % (self.fmt, len(raw), len(raw2))
- self.assertTrue(raw2 in raw or raw in raw2)
- #self.assertEqual(raw, idx.get_raw(id))
+ self.assertEqual(raw, idx.get_raw(id))
idx.close()
if os.path.isfile(filename + ".bgz"):

0 comments on commit 3fd337d

Please sign in to comment.