class RSpec::Core::Runner

def persist_example_statuses

def persist_example_statuses
  return if @configuration.dry_run
  return unless (path = @configuration.example_status_persistence_file_path)
  ExampleStatusPersister.persist(@world.all_examples, path)
rescue SystemCallError => e
  RSpec.warning "Could not write example statuses to #{path} (configured as " \
                "`config.example_status_persistence_file_path`) due to a " \
                "system error: #{e.inspect}. Please check that the config " \
                "option is set to an accessible, valid file path", :call_site => nil
end