示例#1
0
 def test_set_qualities_none(self):
     seq = SequenceRecord("name1", "A", "=")
     seq.qualities = None
     assert seq.qualities is None
示例#2
0
 def test_set_qualities_bad(self):
     seq = SequenceRecord("name1", "A", "=")
     with pytest.raises(ValueError) as error:
         seq.qualities = "Ä"
     error.match("ASCII")