obspy.core.util.decorator.skip_on_network_error

skip_on_network_error(func, *args, **kwargs)[source]

Decorator for unittest to mark test routines that fail with certain network errors (e.g. timeouts) as “skipped” rather than “Error”.