def test_infinite(self, space):
        w_res = space.execute("return 1.0.infinite?")
        assert w_res is space.w_nil
        w_res = space.execute("return Float::INFINITY.infinite?")
        assert space.int_w(w_res) == 1
        w_res = space.execute("return (-Float::INFINITY).infinite?")
        assert space.int_w(w_res) == -1
dataset/ETHPy150Open topazproject/topaz/tests/objects/test_floatobject.py/TestFloatObject.test_infinite/original