code: def test_exp(self):
      # all experiences have a current_experience identifier
      # accessible only in logging mode.
  
      self.assertRaises(
          MaskedAttributeError,
          lambda: CLExperience(5, None).train().current_experience,
      )
  
      self.assertRaises(
          MaskedAttributeError,
          lambda: CLExperience(5, None).eval().current_experience,
      )
  
      print(
          "CURRENT_EXPERIENCE: ",
          CLExperience(5, None).current_experience,
      )
      assert CLExperience(5, None).current_experience == 5
  
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 ExperienceTests obj's underlying member method code with example usage: obj.test_exp() without return types