def test_integer(self):
        @pyschema.no_auto_store()
        class IntegerRecord(pyschema.Record):
            field = Integer()
        allowed = [100, 2**32-1, -(2**32), 1L]
        forbidden = ["1", 0.12, False, True]
        self.assertCompliant(IntegerRecord, allowed, forbidden)
dataset/ETHPy150Open spotify/pyschema/test/type_tests.py/TypeTests.test_integer/original