code: def testWithIntegerTimezone(self):
      try:
          barFeed = ninjatraderfeed.Feed(
              ninjatraderfeed.Frequency.MINUTE, -3
          )
          self.assertTrue(False, "Exception expected")
      except Exception as e:
          self.assertTrue(
              str(e).find(
                  "timezone as an int parameter is not supported anymore"
              )
              == 0
          )
  
      try:
          barFeed = ninjatraderfeed.Feed(
              ninjatraderfeed.Frequency.MINUTE
          )
          barFeed.addBarsFromCSV(
              "spy",
              common.get_data_file_path("nt-spy-minute-2011.csv"),
              -5,
          )
          self.assertTrue(False, "Exception expected")
      except Exception as e:
          self.assertTrue(
              str(e).find(
                  "timezone as an int parameter is not supported anymore"
              )
              == 0
          )
  
file_path: pyalgotrade/testcases/ninjatraderfeed_test.py
imports: import datetime
  from .None import common
  from .None import barfeed_test
  from .None import feed_test
  from pyalgotrade.barfeed import ninjatraderfeed
  from pyalgotrade import marketsession
  from pyalgotrade import bar
  from pyalgotrade.utils import dt
label_desc: Use image node_id 5 for calling the NinjaTraderTestCase obj's underlying member method code with example usage: obj.testWithIntegerTimezone() without return types