Add test for class consistency and TypeError
@@ -327,4 +327,5 @@ def test_wcs_geom_equal(npix, binsz, coordsys, proj, skypos, axes, result):
assert (geom0 == geom1) is result
-
+ with pytest.raises(TypeError):
+ geom0 == geom0.wcs.wcs
