docstr: Add a new restriction, run a test long after both
  knowledge dates, make sure stock from original restriction
  set is still disallowed.
docstr_tok: ["Add","a","new","restriction",",","run","a","test","long","after","both","knowledge","dates",",","make","sure","stock","from","original","restriction","set","is","still","disallowed","."]
code: def test_algo_with_rl_violation_cumulative(self):
      """
      Add a new restriction, run a test long after both
      knowledge dates, make sure stock from original restriction
      set is still disallowed.
      """
      sim_params = factory.create_simulation_parameters(
          start=self.START_DATE + timedelta(days=7), num_days=4
      )
  
      with security_list_copy():
          add_security_data(["AAPL"], [])
          algo = self.make_algo(
              algo_class=RestrictedAlgoWithoutCheck,
              symbol="BZQ",
              sim_params=sim_params,
          )
          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 9 for calling the SecurityListTestCase obj's underlying member method code with example usage: obj.test_algo_with_rl_violation_cumulative() without return types