Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lock_test.py')
-rw-r--r--tests/lock_test.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/lock_test.py b/tests/lock_test.py
index b01cc5d58..0266cf029 100644
--- a/tests/lock_test.py
+++ b/tests/lock_test.py
@@ -1,4 +1,6 @@
"""Tests to ensure the lock order is preserved."""
+from __future__ import print_function
+
import atexit
import functools
import logging
@@ -235,4 +237,9 @@ def log_output(level, out, err):
if __name__ == "__main__":
- main()
+ if os.name != 'nt':
+ main()
+ else:
+ print(
+ 'Warning: lock_test cannot be executed on Windows, '
+ 'as it relies on a Nginx distribution for Linux.')