Because the function $\frac{1}{z}$ has a pole at $z=0$, the integral $\int_{0}^{1} \frac{dx}{x} $ doesn't converge.
On the other hand, the integral $\int_{0}^{1} \sin \left(\frac{1}{x} \right) \, dx $ converges even though the function $\sin \left(\frac{1}{z} \right)$ has an essential singularity at $z=0$.
Can an essential singularity be a weaker singularity than an pole?
EDIT:
Originally I had $\int_{0}^{1} \sin \left(\frac{1}{x^{2}} \right) \, dx$ (which converges despite the fact that $\sin \left(\frac{1}{z^{2}} \right)$ has an essential singularity at $z=0$).