

def test_lte(self, space):
    assert (space.execute('return 1.1 <= 2') is self.w_true)
    assert (space.execute('return 1.0 <= 1') is space.w_true)
    assert (space.execute('return 1.1 <= 1.1') is space.w_true)
    assert (space.execute('return 1.1 <= 0.9') is space.w_false)
    assert (space.execute("return 1.0 <= '1.1'") is space.w_true)
    with self.raises(space, 'ArgumentError', 'comparison of Float with String failed'):
        space.execute("1.0 <= 'a'")

dataset/ETHPy150Open topazproject/topaz/tests/objects/test_floatobject.py TestFloatObject.test_lte/VarMisuse@21/34 `space`->`self`