code: def test_resample(self):
      calendar = self.trading_calendar
      for sid in self.ASSET_FINDER_FUTURE_SIDS:
          case_frame = FUTURE_CASES[sid]
          first = calendar.minute_to_session_label(case_frame.index[0])
          last = calendar.minute_to_session_label(case_frame.index[-1])
          result = self.session_bar_reader.load_raw_arrays(
              OHLCV, first, last, [sid]
          )
          for i, field in enumerate(OHLCV):
              assert_almost_equal(
                  EXPECTED_SESSIONS[sid][[field]],
                  result[i],
                  err_msg="sid={0} field={1}".format(sid, field),
              )
  
imports: from collections import OrderedDict
  from numbers import Real
  from nose_parameterized import parameterized
  from numpy.testing import assert_almost_equal
  from numpy import nan, array, full, isnan
  import pandas
  from pandas import DataFrame
  from six import iteritems
  from zipline.data.resample import minute_frame_to_session_frame, DailyHistoryAggregator, MinuteResampleSessionBarReader, ReindexMinuteBarReader, ReindexSessionBarReader
  from zipline.testing import parameter_space
  from zipline.testing.fixtures import WithEquityMinuteBarData, WithBcolzEquityMinuteBarReader, WithBcolzEquityDailyBarReader, WithBcolzFutureMinuteBarReader, ZiplineTestCase
label_desc: Use image node_id 4 for calling the TestResampleSessionBars obj's underlying member method code with example usage: obj.test_resample() without return types