def test_parse_residue_ValueError(self): with pytest.raises(ValueError): util.parse_residue('ZZZ')
def check_parse_residue(rstring, residue): assert_equal(util.parse_residue(rstring), residue)
def test_parse_residue(self, rstring, residue): assert util.parse_residue(rstring) == residue