code: def testWMA(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.WMA(barDs.getCloseDataSeries(), 252, 2)[1], 93.71
      )
      self.assertAmountsAreEqual(
          indicator.WMA(barDs.getCloseDataSeries(), 252, 2)[2], 94.52
      )
      self.assertAmountsAreEqual(
          indicator.WMA(barDs.getCloseDataSeries(), 252, 2)[3], 94.86
      )  # Original value 94.85
      self.assertAmountsAreEqual(
          indicator.WMA(barDs.getCloseDataSeries(), 252, 2)[-1], 108.16
      )
  
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 57 for calling the TestCase obj's underlying member method code with example usage: obj.testWMA() without return types