I am taking a course in Riemann surfaces and our lecturer has warned us that the definition of covering maps in the context of Riemann surfaces is strictly weaker than the ones used in Algebraic Topology. In both contexts, the map is locally a homeomorphism.
In the context of Riemann surfaces, the spaces are both Hausforff and path-connected whilst the spaces don't have any explicit specified properties in the Algebraic Topology from what I gather.
The other difference is that in the Algebraic Topology course the space downstairs always has a neighbourhood for any point that has a preimage which covers the entire space upstairs.
i.e. $p : \tilde{X} → X$ such that for any $x\in X $ there is an open neighbourhood $U$ of $x$ such that $p^{−1}(U)$ is a disjoint union of open sets of $Y$ each of which is mapped homeomorphically onto $U$.
However in the Riemann surfaces course for every point upstairs, there is a neighbourhood that is locally a homeomorphism.
i.e. A covering map of a topological space is a continuous map $\pi:\tilde{X}\to X$ where $\tilde{X},X$ Hausdorff path-connectedd topological spaces and $\pi$ is a local homeomorphism. \i.e. For each $\tilde{x}\in\tilde{X}$ then there is an open neighbourhood $\tilde{N}$ of $\tilde{x}$ such that $\pi|_{\tilde{N}}:\tilde{N}\to N$ is a homeomorphism where $N$ is an open neighbourhood of $x=\pi(\tilde{x})$
$X$ is called the base space.
$\tilde{X}$ is called the covering space.
Could someone describe an example where the notion can be distinguished to show that one is weaker than another?