

def test_nan(self, space):
    w_res = space.execute('return 1.0.nan?')
    assert (w_res is space.w_false)
    w_res = space.execute('return Float::NAN.nan?')
    assert (w_res is space.w_true)

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