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` returns `None` when provided
  with two series that share no overlap. This particular test uses
  datetime index series to check this behaviour.
docstr_tok: ["Tests","that","`","get_shared_times_bounds","`","returns","`","None","`","when","provided","with","two","series","that","share","no","overlap",".","This","particular","test","uses","datetime","index","series","to","check","this","behaviour","."]
code: def test_shared_times_bounds_no_overlap_datetime_idx(self):
      """
      Tests that `get_shared_times_bounds` returns `None` when provided
      with two series that share no overlap. This particular test uses
      datetime index series to check this behaviour.
      """
      # Have `series_2` begin after the end of `series_1`:
      series_1 = linear_timeseries(
          start=pd.Timestamp("1/1/2000"), length=5, freq="d"
      )
      series_2 = linear_timeseries(
          start=series_1.end_time() + pd.Timedelta("1d"),
          length=6,
          freq="2d",
      )
      assert get_shared_times_bounds(series_1, series_2) is None
      assert (
          get_shared_times_bounds(series_2, series_1, series_2) is None
      )
  
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 12 for calling the TestGetSharedTimesBounds obj's underlying member method code with example usage: obj.test_shared_times_bounds_no_overlap_datetime_idx() without return types