class_docstr: Tests `get_shared_times_bounds` function defined in `darts.utils.data.tabularization`.
class_docstr_tok: ["Tests","`","get_shared_times_bounds","`","function","defined","in","`","darts.utils.data.tabularization","`","."]
docstr: Tests that `get_shared_times_bounds` correctly computes bounds
  of two overlapping range index timeseries.
docstr_tok: ["Tests","that","`","get_shared_times_bounds","`","correctly","computes","bounds","of","two","overlapping","range","index","timeseries","."]
code: def test_shared_times_bounds_overlapping_range_idx_series(self):
      """
      Tests that `get_shared_times_bounds` correctly computes bounds
      of two overlapping range index timeseries.
      """
      # Defined so `series_1` starts and ends before `series_2` does:
      series_1 = linear_timeseries(start=1, end=15, freq=3)
      series_2 = linear_timeseries(start=2, end=20, freq=2)
      expected_bounds = (series_2.start_time(), series_1.end_time())
      assert (
          get_shared_times_bounds(series_1, series_2) == expected_bounds
      )
  
file_path: darts/darts/tests/utils/tabularization/test_get_shared_times_bounds.py
imports: import pandas
  import pytest
  from darts.utils.data.tabularization import get_shared_times_bounds
  from darts.utils.timeseries_generation import linear_timeseries
label_desc: Use image node_id 1 for calling the TestGetSharedTimesBounds obj's underlying member method code with example usage: obj.test_shared_times_bounds_overlapping_range_idx_series() without return types