def test_write_seq(self):
    f = StringIO(table_io.example)
    seqs = table_io.read(f)
    fout = StringIO()
    table_io.write(fout, seqs)
    fout.seek(0)
    seqs2 = table_io.read(fout)
    self.assertEqual(seqs, seqs2)
def test_write_seq(self):
    f = StringIO(table_io.example)
    seqs = table_io.read(f)
    fout = StringIO()
    table_io.write(fout, seqs)
    fout.seek(0)
    seqs2 = table_io.read(fout)
    self.assertEqual(seqs, seqs2)