summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschlamar <marc.schlaich@gmail.com>2014-03-25 08:51:10 +0100
committerschlamar <marc.schlaich@gmail.com>2014-03-25 08:51:10 +0100
commitba555c4fd155dd9fc13d1cb988d9af56a56cae57 (patch)
tree3a4b5c8e9d260352e9beb6a9f7ee3ff025d906c2
parentb8da2d118ee1ea618a8981c7dadd8b295f43ef23 (diff)
downloadtox-ba555c4fd155dd9fc13d1cb988d9af56a56cae57.tar.gz
Restrict PYTHONHASHSEED limitation on Windows to Python < 3.4.
-rw-r--r--tox/_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox/_config.py b/tox/_config.py
index 9e16b7d..23d86f4 100644
--- a/tox/_config.py
+++ b/tox/_config.py
@@ -202,7 +202,7 @@ def get_homedir():
def make_hashseed():
max_seed = 4294967295
- if sys.platform == 'win32':
+ if sys.platform == 'win32' and sys.version_info < (3, 4):
max_seed = 1024
return str(random.randint(1, max_seed))