code: def stop_recording_skipped(cls):
          
          if cls._errors_recorded is None:
              raise Exception('Cannot stop recording before it is started')
          recorded = cls._errors_recorded[:]
          cls._errors_recorded = None
          return recorded
docs: Stop collecting OptionErrors recorded with the
          record_skipped_option method and return them