def METHOD_NAME(self):
    attr = AttrFactory.create(
        types=[
            AttrTypeFactory.create(qname="foo"),
            AttrTypeFactory.native(DataType.INT),
            AttrTypeFactory.native(DataType.SHORT),
            AttrTypeFactory.native(DataType.INTEGER),
            AttrTypeFactory.native(DataType.FLOAT),
        ]
    )
    self.assertCountEqual([float, int], attr.native_types)