diff --git a/test/__init__.py b/test/__init__.py index 180234a96b..5ab3cac1bf 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -148,7 +148,7 @@ def notWindows(test): @six.wraps(test) def wrapper(*args, **kwargs): - msg = "{} is flaky on Windows".format(test.__name__) + msg = "{name} does not run on Windows".format(name=test.__name__) if platform.system() == "Windows": pytest.skip(msg) return test(*args, **kwargs) @@ -179,19 +179,6 @@ def wrapper(*args, **kwargs): return wrapper -def notWindows(test): - """Skips this test when running on Windows""" - - @six.wraps(test) - def wrapper(*args, **kwargs): - msg = "{name} does not run on Windows".format(name=test.__name__) - if platform.system() == "Windows": - pytest.skip(msg) - return test(*args, **kwargs) - - return wrapper - - def notOpenSSL098(test): """Skips this test for Python 3.5 macOS python.org distribution"""