[Biopython-dev] Eol
Cayte
katel at worldpath.net
Thu Dec 7 02:03:20 EST 2000
Should the last line of text have an implicit Eol? This test assumes it
should, but the test failed. A test that's identical, except that the
target text ends with a newline, passed.
exp1 = Martel.ToEol()
exp2 = Martel.ToEol()
exp3 = Martel.ToEol()
expression = exp1 + exp2 + exp3
print expression
tagtable, want_flg = Martel.Generate.generate( expression )
success = tag( "abcdefghij\nOPQRSTUVWXY\n0123456789", tagtable )[
0 ]
return ( self.assert_condition( success == 1, "Failed" ) )
Cayte
More information about the Biopython-dev
mailing list