weak homotopy equivalence (Whitehead theorem) and the *pseudocircle*

On wikipedia, I recently read about a highly pathological finite topological space, namely the pseudocircle $$X=\{a,b,c,d\},\;\;\; \mathcal{T}=\{\emptyset,\{a\},\{b\},\{ab\},\{a,b,c\},\{a,b,d\},X\}.$$

It is stated that the map $$\begin{array}{c r c l} f\!: &\!\!\!\mathbb{S}^1&\rightarrow &\!\!\!\!\!X\\ &(x,y)&\mapsto&a\;\;\;\;\;\text{when }x<0\\ &(x,y)&\mapsto&b\;\;\;\;\;\text{when }x>0\\ &(x,y)&\mapsto&c\;\;\;\;\;\text{when }(x,y)=(0,1)\\ &(x,y)&\mapsto&d\;\;\;\;\;\text{when }(x,y)=(0,-1)\\ \end{array} $$ is a weak homotopy equivalence which by definition means that all the homomorphisms $f_\ast\!\!:\pi_n(\mathbb{S}^1,(1,0))\rightarrow\pi_n(X,b)$ are isomorphisms $\forall n\!\in\!\mathbb{N}$. "This can be proved using the following observation. Like $\mathbb{S}^1$, $X$ is the union of two contractible open sets $\{a,b,c\}$ and $\{a,b,d\}$ whose intersection $\{a,b\}$ is also the union of two contractible open sets $\{a\}$ and $\{b\}$."

But then it states "It follows that $f$ also induces an isomorphism on singular homology and cohomology". How does this follow?

The Whitehead theorem states: if $X,Y$ are connected CW-complexes and if $f\!:X\rightarrow Y$ is a weak homotopy equivalence, then it is a homotopy equivalence.

But the pseudocircle is not a CW-complex, since it only has finitely many points and isn't discrete.


Any weak homotopy equivalence induces isomorphism on singular homology and cohomology (see e.g. Proposition 4.21 in Hatcher's book — or any other AT textbook).