

def test_zero_division_inf(self, space):
    w_res = space.execute('return 1.0 / 0.0')
    assert (self.unwrap(space, w_res) == float('inf'))
    w_res = space.execute('return -1.0 / 0.0')
    assert (self.unwrap(space, space) == (- float('inf')))

dataset/ETHPy150Open topazproject/topaz/tests/objects/test_floatobject.py TestFloatObject.test_zero_division_inf/VarMisuse@55/95 `w_res`->`space`