code: def testVAR(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.VAR(barDs.getCloseDataSeries(), 252, 5.0, 1)[4],
          1.2856**2,
      )
      self.assertAmountsAreEqual(
          indicator.VAR(barDs.getCloseDataSeries(), 252, 5.0, 1)[5],
          0.4462**2,
      )
      self.assertAmountsAreEqual(
          indicator.VAR(barDs.getCloseDataSeries(), 252, 5.0, 1)[-1],
          0.7144**2,
      )
  
imports: import datetime
  import talib
  from six.moves import xrange
  from .None import common
  from pyalgotrade.talibext import indicator
  from pyalgotrade import bar
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
label_desc: Use image node_id 55 for calling the TestCase obj's underlying member method code with example usage: obj.testVAR() without return types