def test_set_name_none(self): seq = SequenceRecord("name1", "A", "=") with pytest.raises(TypeError) as error: seq.name = None error.match("str")
def test_set_name_bad(self): seq = SequenceRecord("name1", "A", "=") with pytest.raises(ValueError) as error: seq.name = "näme1" error.match("ASCII")