

def test_equal_method(self, space):
    w_res = space.execute('return 2.3.equal?(2.3)')
    assert (w_res is space.w_true)
    w_res = space.execute('return Float::NAN.equal?(Float::NAN)')
    assert (w_res is space.w_true)

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