def test_freeze(self, space):
        w_res = space.execute("""
        float = 0.1
        res = [float.frozen?]
        float.freeze
        res << float.frozen?
        res << 0.2.frozen?
        return res
        """)
        assert self.unwrap(space, w_res) == [False, True, False]
dataset/ETHPy150Open topazproject/topaz/tests/objects/test_floatobject.py/TestFloatObject.test_freeze/original