code: def test_chunking_univariate_continuous_view_no_fs():
      # create some dummy data
      series = pd.Series(
          index=pd.date_range(
              datetime.now(), periods=10_000, freq="1s"
          ),
          data=np.ones(10_000),
      ).rename("1hz_series")
  
      with pytest.raises(ValueError):
          # a valueError will be raised since chunk_data does not
          # set chunk_range_margin
          out = chunk_data(
              data=series,
              max_chunk_dur="1000s",
              copy=False,
              verbose=True,
          )
      out = chunk_data(
          data=series,
          max_chunk_dur="1000s",
          copy=False,
          verbose=True,
          chunk_range_margin="1s",
      )
      assert len(out) == 10
      # this is caused by the end-inclusion of the sub-chunks
      assert len(out[0][0]) == 1001
  
      # as we've returned a view and not a copy -> must we also change the original series
      out[0][0][:10] = 0
      assert all(series[:10] == 0)
      assert all(series[10:] == 1)
  
file_path: tsflex/tests/test_chunking.py
imports: from datetime import datetime
  import numpy
  import pandas
  import pytest
  from tsflex.chunking import chunk_data
label_desc: Use image node_id 3 for calling a global function with example usage: test_chunking_univariate_continuous_view_no_fs() without return types