def test_shared_times_bounds_single_idx_overlap(self, series_type):
        """
        Tests that `get_shared_times_bounds` correctly handles cases
        where the bounds contains a single time index value.
        """
        # Pass multiple copies of timeseries with single time
        # value - bounds should be start time and end time of
        # this single-valued series:
        # `series_1` and `series_2` share only a single overlap point
        # at the end of `series_1`:
        if series_type == "integer":
            series = linear_timeseries(start=0, length=1, freq=1)
            series_1 = linear_timeseries(start=0, length=3, freq=1)
            series_2 = linear_timeseries(start=series_1.end_time(), length=2, freq=2)
        else:
            series = linear_timeseries(
                start=pd.Timestamp("1/1/2000"), length=1, freq="d"
            )
            series_1 = linear_timeseries(
                start=pd.Timestamp("1/1/2000"), length=3, freq="d"
            )
            series_2 = linear_timeseries(start=series_1.end_time(), length=2, freq="2d")
        assert get_shared_times_bounds(series, series) == (
            series.start_time(),
            series.end_time(),
        )
        assert get_shared_times_bounds(series_1, series_2) == (
            series_1.end_time(),
            series_2.start_time(),
        )

        Tests that `get_shared_times_bounds` correctly handles cases
        where the bounds contains a single time index value.
        
darts/tests/utils/tabularization/test_get_shared_times_bounds.py