code: def testInvalidDataSeries(self):
      with self.assertRaisesRegexp(
          Exception,
          "barDataSeries must be a dataseries.bards.BarDataSeries instance",
      ):
          ds = dataseries.SequenceDataSeries()
          atr.ATR(ds, 14, True)
  
file_path: pyalgotrade/testcases/technical_atr_test.py
imports: import datetime
  from six.moves import xrange
  from .None import common
  from pyalgotrade.technical import atr
  from pyalgotrade import bar
  from pyalgotrade.dataseries import bards
  from pyalgotrade import dataseries
label_desc: Use image node_id 3 for calling the TestCase obj's underlying member method code with example usage: obj.testInvalidDataSeries() without return types