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 handles case where
  multiple copies of the same series is passed as an input; we expect
  the return bounds to just be the start and end times of that repeated
  series. This particular test uses datetime index series to
  check this behaviour.
docstr_tok: ["Tests","that","`","get_shared_times_bounds","`","correctly","handles","case","where","multiple","copies","of","the","same","series","is","passed","as","an","input",";","we","expect","the","return","bounds","to","just","be","the","start","and","end","times","of","that","repeated","series",".","This","particular","test","uses","datetime","index","series","to","check","this","behaviour","."]
code: def test_shared_times_bounds_identical_inputs_datetime_idx(self):
      """
      Tests that `get_shared_times_bounds` correctly handles case where
      multiple copies of the same series is passed as an input; we expect
      the return bounds to just be the start and end times of that repeated
      series. This particular test uses datetime index series to
      check this behaviour.
      """
      series = linear_timeseries(
          start=pd.Timestamp("1/1/2000"), length=5, freq="d"
      )
      expected = (series.start_time(), series.end_time())
      assert get_shared_times_bounds(series) == expected
      assert get_shared_times_bounds(series, series) == expected
      assert get_shared_times_bounds(series, series, series) == expected
  
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 7 for calling the TestGetSharedTimesBounds obj's underlying member method code with example usage: obj.test_shared_times_bounds_identical_inputs_datetime_idx() without return types