code: def test_algo_with_rl_violation_after_knowledge_date(self):
      start = self.START_DATE + timedelta(days=7)
      end = start + self.trading_calendar.day * 4
      algo = self.make_algo(
          algo_class=RestrictedAlgoWithoutCheck,
          symbol="BZQ",
          sim_params=self.make_simparams(
              start_session=start,
              end_session=end,
          ),
      )
  
      with self.assertRaises(TradingControlViolation) as ctx:
          algo.run()
  
      self.check_algo_exception(algo, ctx, 0)
  
imports: from datetime import timedelta
  import pandas
  from nose_parameterized import parameterized
  from zipline.algorithm import TradingAlgorithm
  from zipline.errors import TradingControlViolation
  from zipline.testing import add_security_data, security_list_copy
  from zipline.testing.fixtures import WithMakeAlgo, ZiplineTestCase
  from zipline.utils import factory
  from zipline.utils.security_list import SecurityListSet, load_from_directory
label_desc: Use image node_id 8 for calling the SecurityListTestCase obj's underlying member method code with example usage: obj.test_algo_with_rl_violation_after_knowledge_date() without return types