code: def testing(self, val: bool) -> None:
      if val:
          self._running_stage = RunningStage.TESTING
      elif self.testing:
          self._running_stage = None
  
file_path: lightning-flash/src/flash/core/data/properties.py
imports: from typing import Optional
  from flash.core.utilities.stages import RunningStage
label_desc: Use image node_id 8 for calling the Properties obj's underlying member method code with example usage: obj.testing(val) without return types