code: def test_is_open_on_minute(self):
      one_minute = pd.Timedelta(minutes=1)
  
      for market_minute in self.answers.market_open:
          market_minute_utc = market_minute
          # The exchange should be classified as open on its first minute
          self.assertTrue(
              self.calendar.is_open_on_minute(market_minute_utc)
          )
  
          if self.GAPS_BETWEEN_SESSIONS:
              # Decrement minute by one, to minute where the market was not
              # open
              pre_market = market_minute_utc - one_minute
              self.assertFalse(
                  self.calendar.is_open_on_minute(pre_market)
              )
  
      for market_minute in self.answers.market_close:
          close_minute_utc = market_minute
          # should be open on its last minute
          self.assertTrue(
              self.calendar.is_open_on_minute(close_minute_utc)
          )
  
          if self.GAPS_BETWEEN_SESSIONS:
              # increment minute by one minute, should be closed
              post_market = close_minute_utc + one_minute
              self.assertFalse(
                  self.calendar.is_open_on_minute(post_market)
              )
  
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 5 for calling the ExchangeCalendarTestBase obj's underlying member method code with example usage: obj.test_is_open_on_minute() without return types