def test_read(self):
    f = StringIO(table_io.example)
    seqs = table_io.read(f)
    self.assertEqual(len(seqs), 10)
    self.assertEqual(seqs[2].name, 'EC0003')
    self.assertEqual(len(seqs[1]), 50)
def test_read(self):
    f = StringIO(table_io.example)
    seqs = table_io.read(f)
    self.assertEqual(len(seqs), 10)
    self.assertEqual(seqs[2].name, 'EC0003')
    self.assertEqual(len(seqs[1]), 50)