code: def test_treasury_returns(self):
      returns = factory.create_returns_from_range(self.sim_params)
      metrics = ClassicRiskMetrics.risk_report(
          algorithm_returns=returns,
          benchmark_returns=self.benchmark_returns,
          algorithm_leverages=pd.Series(0.0, index=returns.index),
      )
  
      # These values are all expected to be zero because we explicity zero
      # out the treasury period returns as they are no longer actually used.
      for period in PERIODS:
          self.assertEqual(
              [x["treasury_period_return"] for x in metrics[period]],
              [0.0] * len(metrics[period]),
          )
  
imports: import datetime
  import pandas
  import numpy
  from zipline.utils import factory
  from zipline.finance.trading import SimulationParameters
  import zipline.testing.fixtures
  from zipline.finance.metrics import _ClassicRiskMetrics
label_desc: Use image node_id 13 for calling the TestRisk obj's underlying member method code with example usage: obj.test_treasury_returns() without return types