assert_sky_projections_equal#

lsst.images.tests.assert_sky_projections_equal(tc: TestCase, a: SkyProjection[Any] | None, b: SkyProjection[Any] | None, expect_identity: bool | None = None) None#

Test that two SkyProjection instances are equivalent.

Parameters#

tc

Test case providing the assertion methods to use.

a

First sky projection to compare.

b

Second sky projection to compare.

expect_identity

If not None, assert whether a and b are the same object.