code: def test_sharpe_2(self, returns, rolling_sharpe_window, expected):
      np.testing.assert_array_almost_equal(
          timeseries.rolling_sharpe(
              returns, rolling_sharpe_window
          ).values,
          np.asarray(expected),
      )
  
imports: from __future__ import division
  import os
  from unittest import TestCase
  from nose_parameterized import parameterized
  from numpy.testing import assert_allclose, assert_almost_equal
  from pandas.util.testing import assert_series_equal
  import numpy
  import pandas
  from ..None import timeseries
  from pyfolio.utils import to_utc, to_series
  import gzip
label_desc: Use image node_id 1 for calling the TestStats obj's underlying member method code with example usage: obj.test_sharpe_2(returns, rolling_sharpe_window, expected) without return types