def helper_test_transfer(tag, ts, ts_new):
        """static cov or metadata must be identical"""
        if tag == STATIC_COV_TAG:
            assert ts_new.static_covariates.equals(ts.static_covariates)
        else:  # metadata
            assert ts_new.metadata == ts.metadata
static cov or metadata must be identical
darts/tests/test_timeseries_static_covariates.py