def assertIdentical(self, a, b):
        assert type(a) is type(b) or (float(a) == float(b))
        try:
            assert a.identical(b), (a, b)
        except __HOLE__:
            self.assertArrayEqual(a, b)
dataset/ETHPy150Open pydata/xarray/xarray/test/test_ufuncs.py/TestOps.assertIdentical