

def test_freeze(self, space):
    w_res = space.execute('\n        float = 0.1\n        res = [float.frozen?]\n        float.freeze\n        res << float.frozen?\n        res << 0.2.frozen?\n        return res\n        ')
    assert (self.unwrap(space, w_res) == [False, True, False])

dataset/ETHPy150Open topazproject/topaz/tests/objects/test_floatobject.py TestFloatObject.test_freeze/original