def test_shared_times_identical_inputs(self, series_type):
        """
        Tests that `get_shared_times` correctly handles case where
        multiple copies of same time index timeseries is passed;
        we expect that the unaltered time index of the series is returned.
        """
        if series_type == "integer":
            series = linear_timeseries(start=0, length=5, freq=1)
        else:
            series = linear_timeseries(
                start=pd.Timestamp("1/1/2000"), length=5, freq="d"
            )
        assert series.time_index.equals(get_shared_times(series))
        assert series.time_index.equals(get_shared_times(series, series))
        assert series.time_index.equals(get_shared_times(series, series, series))

        Tests that `get_shared_times` correctly handles case where
        multiple copies of same time index timeseries is passed;
        we expect that the unaltered time index of the series is returned.
        
darts/tests/utils/tabularization/test_get_shared_times.py