Permalink
Browse files

enable tests to run on python 3 on windows

  • Loading branch information...
1 parent 39dd507 commit e4b245b5266e30bd489f81ea4a861c5a57489d2b @ndjensen ndjensen committed Aug 29, 2016
Showing with 4 additions and 0 deletions.
  1. +4 −0 commands/test.py
View
@@ -47,6 +47,10 @@ def run(self):
if lib_python:
environment['LD_PRELOAD'] = lib_python
+ # http://bugs.python.org/issue20614
+ if is_windows():
+ environment['SYSTEMROOT'] = os.environ['SYSTEMROOT']
+
# if multiple versions of python are installed, this helps ensure the right
# version is used
executable = sys.executable

0 comments on commit e4b245b

Please sign in to comment.