code: def test_special_holidays(self):
      # 9/11
      # Sept 11, 12, 13, 14 2001
      self.assertNotIn(
          pd.Period("9/11/2001"), self.calendar.all_sessions
      )
      self.assertNotIn(
          pd.Period("9/12/2001"), self.calendar.all_sessions
      )
      self.assertNotIn(
          pd.Period("9/13/2001"), self.calendar.all_sessions
      )
      self.assertNotIn(
          pd.Period("9/14/2001"), self.calendar.all_sessions
      )
  
      # Hurricane Sandy
      # Oct 29, 30 2012
      self.assertNotIn(
          pd.Period("10/29/2012"), self.calendar.all_sessions
      )
      self.assertNotIn(
          pd.Period("10/30/2012"), self.calendar.all_sessions
      )
  
      # various national days of mourning
      # Gerald Ford - 1/2/2007
      self.assertNotIn(
          pd.Period("1/2/2007"), self.calendar.all_sessions
      )
  
      # Ronald Reagan - 6/11/2004
      self.assertNotIn(
          pd.Period("6/11/2004"), self.calendar.all_sessions
      )
  
      # Richard Nixon - 4/27/1994
      self.assertNotIn(
          pd.Period("4/27/1994"), self.calendar.all_sessions
      )
  
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 2 for calling the NYSECalendarTestCase obj's underlying member method code with example usage: obj.test_special_holidays() without return types