The phrase "non-euclidean geometry" does not mean "any geometry that violates the Euclid axioms" but specifically that the parallel postulate is replaced. traki is right.
I've got to reconsider given adrusi's comment, I think he's actually right. The parallel postulate is what makes the sum of angles of any triangle to be 180ยบ.