code: def test_history_sid_session_delivery_predicate(self):
      cf = self.data_portal.asset_finder.create_continuous_future(
          "BZ", 0, "calendar", None
      )
      window = self.data_portal.get_history_window(
          [cf],
          Timestamp("2016-01-11 18:01", tz="US/Eastern").tz_convert(
              "UTC"
          ),
          3,
          "1d",
          "sid",
          "minute",
      )
  
      self.assertEqual(
          window.loc["2016-01-08", cf],
          10,
          "Should be BZF16 at beginning of window.",
      )
  
      self.assertEqual(
          window.loc["2016-01-11", cf],
          12,
          "Should be BZH16 after first roll, having skipped "
          "over BZG16.",
      )
  
      self.assertEqual(
          window.loc["2016-01-12", cf], 12, "Should have remained BZG16"
      )
  
imports: from collections import deque
  from functools import partial
  from textwrap import dedent
  from numpy import arange, array, int64, full, repeat, tile
  from numpy.testing import assert_almost_equal
  import pandas
  from pandas import Timestamp, DataFrame
  from zipline.assets.continuous_futures import OrderedContracts, delivery_predicate
  from zipline.assets.roll_finder import ROLL_DAYS_FOR_CURRENT_CONTRACT, VolumeRollFinder
  from zipline.data.minute_bars import FUTURES_MINUTES_PER_DAY
  from zipline.errors import SymbolNotFound
  import zipline.testing.fixtures
label_desc: Use image node_id 13 for calling the ContinuousFuturesTestCase obj's underlying member method code with example usage: obj.test_history_sid_session_delivery_predicate() without return types