|
|
@@ -156,16 +156,6 @@ def skip_windows(message="This test is not supported on Windows"): |
|
|
|
return wrapper |
|
|
|
|
|
|
|
|
|
|
|
def slow_test(f): |
|
|
|
@functools.wraps(f) |
|
|
|
def wrapper(*args, **kwargs): |
|
|
|
if ('CI' in os.environ and 'RUN_SLOW' not in os.environ and |
|
|
|
os.environ.get('TRAVIS_EVENT_TYPE') != 'cron'): |
|
|
|
raise unittest.SkipTest("Slow test skipped on CI run") |
|
|
|
return f(*args, **kwargs) |
|
|
|
return wrapper |
|
|
|
|
|
|
|
|
|
|
|
@lru_cache(maxsize=None) |
|
|
|
def ensure_available(executable): |
|
|
|
""" |
|
|
|