code: def test_stream_getitem(self):
      # streams should be indexable
      s = EagerCLStream(
          "a",
          [
              CLExperience(0, None),
              CLExperience(1, None),
              CLExperience(2, None),
          ],
          None,
      )
  
      s[0]
      s[1]
      s[2]
  
      self.assertRaises(IndexError, lambda: s[3])
  
      # should be iterable
      for el in s:
          print(el)
  
file_path: avalanche/tests/benchmarks/scenarios/test_generic_scenario.py
imports: import unittest
  from avalanche.benchmarks.scenarios.generic_scenario import CLExperience, EagerCLStream, CLScenario, CLStream, MaskedAttributeError
label_desc: Use image node_id 1 for calling the StreamTests obj's underlying member method code with example usage: obj.test_stream_getitem() without return types