def test_shared_times_single_time_point_overlap(self, series_type):
        """
        Tests that `get_shared_times` returns correct bounds when given time index series that overlap
        at a single time point.
        """
        # `series_1` and `series_2` only overlap at `series_1.end_time()`:
        if series_type == "integer":
            series_1 = linear_timeseries(start=1, end=11, freq=2)
            series_2 = linear_timeseries(start=series_1.end_time(), length=5, freq=3)
        else:
            series_1 = linear_timeseries(
                start=pd.Timestamp("1/1/2000"), end=pd.Timestamp("1/11/2000"), freq="2d"
            )
            series_2 = linear_timeseries(start=series_1.end_time(), length=5, freq="3d")
        overlap_val = series_1.end_time()
        assert get_shared_times(series_1, series_2) == overlap_val
        assert get_shared_times(series_1, series_1, series_2) == overlap_val
        assert get_shared_times(series_1, series_2, series_2) == overlap_val
        assert get_shared_times(series_1, series_1, series_2, series_2) == overlap_val

        Tests that `get_shared_times` returns correct bounds when given time index series that overlap
        at a single time point.
        
darts/tests/utils/tabularization/test_get_shared_times.py