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 unspecified
  inputs (i.e. `None`) are passed. If passed with a specified series, the
  `None` input should be ignored, meaning that the returned bounds should
  be the start and end times of the only specified series. If only `None`
  inputs are passed, `None` should be returned.
docstr_tok: ["Tests","that","`","get_shared_times_bounds","`","correctly","handles","case","unspecified","inputs","(","i.e",".","`","None","`",")","are","passed",".","If","passed","with","a","specified","series",",","the","`","None","`","input","should","be","ignored",",","meaning","that","the","returned","bounds","should","be","the","start","and","end","times","of","the","only","specified","series",".","If","only","`","None","`","inputs","are","passed",",","`","None","`","should","be","returned","."]
code: def test_shared_times_bounds_unspecified_inputs(self):
      """
      Tests that `get_shared_times_bounds` correctly handles case unspecified
      inputs (i.e. `None`) are passed. If passed with a specified series, the
      `None` input should be ignored, meaning that the returned bounds should
      be the start and end times of the only specified series. If only `None`
      inputs are passed, `None` should be returned.
      """
      # `None` is passed alonside a non-`None` input:
      series = linear_timeseries(start=0, length=5, freq=1)
      expected = (series.start_time(), series.end_time())
      assert get_shared_times_bounds(series, None) == expected
      assert get_shared_times_bounds(None, series) == expected
      assert get_shared_times_bounds(None, series, None) == expected
  
      # `None` should be returned if no series specified:
      assert get_shared_times_bounds(None) is None
      assert get_shared_times_bounds(None, None, None) 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 8 for calling the TestGetSharedTimesBounds obj's underlying member method code with example usage: obj.test_shared_times_bounds_unspecified_inputs() without return types