TST: Make network decorator impose a skipTest catching URLErrors (original) (raw)

Basically, do this in the network decorator:

@wraps
def network_wrapper(*args, **kwargs):
    try:
        return t(*args, **kwargs)
    except URLError:
        raise nose.skipTest

Working on it right now