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
  handed a non-`None` input that has no timesteps.
docstr_tok: ["Tests","that","`","get_shared_times_bounds","`","returns","`","None","`","when","handed","a","non-","`","None","`","input","that","has","no","timesteps","."]
code: def test_shared_times_bounds_empty_input(self):
      """
      Tests that `get_shared_times_bounds` returns `None` when
      handed a non-`None` input that has no timesteps.
      """
      series = linear_timeseries(start=0, length=0, freq=1)
      assert get_shared_times_bounds(series) is None
      assert get_shared_times_bounds(series.time_index) is None
      assert get_shared_times_bounds(series, series.time_index) 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 14 for calling the TestGetSharedTimesBounds obj's underlying member method code with example usage: obj.test_shared_times_bounds_empty_input() without return types