def test_is_integer(): assert is_integer(1) assert is_integer(-1) assert not is_integer('str') assert not is_integer(1.1)
def test_is_integer(): assert is_integer(1) assert is_integer(-1) assert not is_integer("str") assert not is_integer(1.1)