docstr: RSI indicator should be the same for two price series with the same
  returns, even if the prices are different.
docstr_tok: ["RSI","indicator","should","be","the","same","for","two","price","series","with","the","same","returns",",","even","if","the","prices","are","different","."]
code: def test_rsi_same_returns(self):
      """
      RSI indicator should be the same for two price series with the same
      returns, even if the prices are different.
      """
      rsi = RSI()
  
      today = np.datetime64(1, "ns")
      assets = np.arange(2)
      out = np.empty((2,), dtype=float)
  
      example_case = np.array(
          [
              46.125,
              47.125,
              46.4375,
              46.9375,
              44.9375,
              44.25,
              44.625,
              45.75,
              47.8125,
              47.5625,
              47.0,
              44.5625,
              46.3125,
              47.6875,
              46.6875,
          ]
      )
      double = example_case * 2
  
      closes = np.vstack((example_case, double)).T
      rsi.compute(today, assets, out, closes)
      self.assertAlmostEqual(out[0], out[1])
  
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 4 for calling the RSITestCase obj's underlying member method code with example usage: obj.test_rsi_same_returns() without return types