class_docstr: Tests `get_shared_times` function defined in `darts.utils.data.tabularization`.
class_docstr_tok: ["Tests","`","get_shared_times","`","function","defined","in","`","darts.utils.data.tabularization","`","."]
docstr: Tests that `get_shared_times` returns `None` when
  supplied range time index series share no temporal overlap.
docstr_tok: ["Tests","that","`","get_shared_times","`","returns","`","None","`","when","supplied","range","time","index","series","share","no","temporal","overlap","."]
code: def test_shared_times_no_overlap_range_idx(self):
      """
      Tests that `get_shared_times` returns `None` when
      supplied range time index series share no temporal overlap.
      """
      # Define `series_2` so that it starts after `series_1` ends:
      series_1 = linear_timeseries(start=1, end=11, freq=2)
      series_2 = linear_timeseries(
          start=series_1.end_time() + 1, length=5, freq=3
      )
      assert get_shared_times(series_1, series_2) is None
      assert get_shared_times(series_1, series_1, series_2) is None
      assert get_shared_times(series_1, series_2, series_2) is None
      assert (
          get_shared_times(series_1, series_1, series_2, series_2)
          is None
      )
  
imports: from math import gcd
  import pandas
  import pytest
  from darts.utils.data.tabularization import get_shared_times
  from darts.utils.timeseries_generation import linear_timeseries
label_desc: Use image node_id 5 for calling the TestGetSharedTimes obj's underlying member method code with example usage: obj.test_shared_times_no_overlap_range_idx() without return types