code: def test_wma2(self):
      wma2 = LinearWeightedMovingAverage(
          inputs=(USEquityPricing.close,), window_length=10
      )
  
      today = pd.Timestamp("2015")
      assets = np.arange(5, dtype=np.int64)
  
      data = np.arange(50, dtype=np.float64).reshape((10, 5))
      out = np.zeros(data.shape[1])
  
      wma2.compute(today, assets, out, data)
      assert_equal(out, np.array([30.0, 31.0, 32.0, 33.0, 34.0]))
  
imports: from __future__ import division
  from nose_parameterized import parameterized
  from six.moves import range
  import numpy
  import pandas
  import talib
  from numpy.random import RandomState
  from zipline.lib.adjusted_array import AdjustedArray
  from zipline.pipeline.data import USEquityPricing
  from zipline.pipeline.factors import BollingerBands, Aroon, FastStochasticOscillator, IchimokuKinkoHyo, LinearWeightedMovingAverage, RateOfChangePercentage, TrueRange, MovingAverageConvergenceDivergenceSignal, AnnualizedVolatility, RSI
  from zipline.testing import check_allclose, parameter_space
  from zipline.testing.fixtures import ZiplineTestCase
  from zipline.testing.predicates import assert_equal
  from .base import BaseUSEquityPipelineTestCase
label_desc: Use image node_id 2 for calling the TestLinearWeightedMovingAverage obj's underlying member method code with example usage: obj.test_wma2() without return types