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