code: def test_minutes_for_period(self):
      # full session
      # find a session that isn't an early close.  start from the first
      # session, should be quick.
      full_session_label = self._find_full_session(self.calendar)
      if full_session_label is None:
          raise ValueError("Cannot find a full session to test!")
  
      minutes = self.calendar.minutes_for_session(full_session_label)
      _open, _close = self.calendar.open_and_close_for_session(
          full_session_label
      )
  
      np.testing.assert_array_equal(
          minutes, pd.date_range(start=_open, end=_close, freq="min")
      )
  
      # early close period
      early_close_session_label = self.calendar.early_closes[0]
      minutes_for_early_close = self.calendar.minutes_for_session(
          early_close_session_label
      )
      _open, _close = self.calendar.open_and_close_for_session(
          early_close_session_label
      )
  
      np.testing.assert_array_equal(
          minutes_for_early_close,
          pd.date_range(start=_open, end=_close, freq="min"),
      )
  
imports: from datetime import time
  from os.path import abspath, dirname, join
  from unittest import TestCase
  import numpy
  import pandas
  from nose_parameterized import parameterized
  from pandas import read_csv
  from pandas.tslib import Timedelta
  from pandas.util.testing import assert_index_equal
  from pytz import timezone
  from toolz import concat
  from catalyst.errors import CalendarNameCollision, InvalidCalendarName
  from catalyst.testing.predicates import assert_equal
  from catalyst.utils.calendars import deregister_calendar, get_calendar, register_calendar
  from catalyst.utils.calendars.calendar_utils import _default_calendar_aliases, _default_calendar_factories, register_calendar_type
  from catalyst.utils.calendars.trading_calendar import days_at_time, TradingCalendar
label_desc: Use image node_id 13 for calling the ExchangeCalendarTestBase obj's underlying member method code with example usage: obj.test_minutes_for_period() without return types