docstr: Test no exceptions are thrown
docstr_tok: ["Test","no","exceptions","are","thrown"]
code: def test_create_event_returns_tear_sheet(
      self, quantiles, periods, filter_zscore, tz
  ):
      """
      Test no exceptions are thrown
      """
      for factor, prices in zip(self.all_factors, self.all_prices):
          prices, factor = self.__localize_prices_and_factor(
              prices, factor, tz
          )
          factor_data = get_clean_factor_and_forward_returns(
              factor,
              prices,
              groupby=self.factor_groups,
              quantiles=quantiles,
              periods=periods,
              filter_zscore=filter_zscore,
          )
  
          create_event_returns_tear_sheet(
              factor_data,
              prices,
              avgretplot=(5, 11),
              long_short=False,
              group_neutral=False,
              by_group=False,
          )
          create_event_returns_tear_sheet(
              factor_data,
              prices,
              avgretplot=(5, 11),
              long_short=True,
              group_neutral=False,
              by_group=False,
          )
          create_event_returns_tear_sheet(
              factor_data,
              prices,
              avgretplot=(5, 11),
              long_short=False,
              group_neutral=True,
              by_group=False,
          )
          create_event_returns_tear_sheet(
              factor_data,
              prices,
              avgretplot=(5, 11),
              long_short=False,
              group_neutral=False,
              by_group=True,
          )
          create_event_returns_tear_sheet(
              factor_data,
              prices,
              avgretplot=(5, 11),
              long_short=True,
              group_neutral=False,
              by_group=True,
          )
          create_event_returns_tear_sheet(
              factor_data,
              prices,
              avgretplot=(5, 11),
              long_short=False,
              group_neutral=True,
              by_group=True,
          )
  
file_path: alphalens/alphalens/tests/test_tears.py
imports: from __future__ import division
  from unittest import TestCase
  from parameterized import parameterized
  from numpy import nan
  from pandas import DataFrame, date_range, Timedelta, concat
  from ..tears import create_returns_tear_sheet, create_information_tear_sheet, create_turnover_tear_sheet, create_summary_tear_sheet, create_full_tear_sheet, create_event_returns_tear_sheet, create_event_study_tear_sheet
  from ..utils import get_clean_factor_and_forward_returns
label_desc: Use image node_id 7 for calling the TearsTestCase obj's underlying member method code with example usage: obj.test_create_event_returns_tear_sheet(quantiles, periods, filter_zscore, tz) without return types