docstr: Check TradingCalendar with defined start/end dates.
docstr_tok: ["Check","TradingCalendar","with","defined","start\/end","dates","."]
code: def test_start_end(self):
      """
      Check TradingCalendar with defined start/end dates.
      """
      start = pd.Timestamp("2010-1-3", tz="UTC")
      end = pd.Timestamp("2010-1-10", tz="UTC")
      calendar = NYSEExchangeCalendar(start=start, end=end)
      expected_first = pd.Timestamp("2010-1-4", tz="UTC")
      expected_last = pd.Timestamp("2010-1-8", tz="UTC")
      self.assertTrue(calendar.first_trading_session == expected_first)
      self.assertTrue(calendar.last_trading_session == expected_last)
  
file_path: catalyst/tests/calendars/test_nyse_calendar.py
imports: from unittest import TestCase
  import pandas
  from .test_trading_calendar import ExchangeCalendarTestBase
  from catalyst.utils.calendars.exchange_calendar_nyse import NYSEExchangeCalendar
label_desc: Use image node_id 1 for calling the CalendarStartEndTestCase obj's underlying member method code with example usage: obj.test_start_end() without return types