changeset 6657:5ef3c8c1c2c1

tests: clarify that time.tzset only is available on Unix
author Mads Kiilerich <mads@kiilerich.com>
date Sun, 28 May 2017 19:53:15 +0200
parents f0705609e494
children 6304efbe37a3
files kallithea/tests/conftest.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/tests/conftest.py	Sun May 28 19:42:23 2017 +0200
+++ b/kallithea/tests/conftest.py	Sun May 28 19:53:15 2017 +0200
@@ -24,7 +24,7 @@
 def pytest_configure():
     os.environ['TZ'] = 'UTC'
     if not kallithea.is_windows:
-        time.tzset()
+        time.tzset() # only available on Unix
 
     path = os.getcwd()
     sys.path.insert(0, path)