Skip to content

Commit

Permalink
Merge pull request #528 from pv/fix-env
Browse files Browse the repository at this point in the history
BUG: os.environ can only contain bytes on Win/py2
  • Loading branch information
pv authored Jun 25, 2017
2 parents 7f0f398 + 259118a commit 18dc5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asv/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def run_executable(self, executable, args, **kwargs):
# may have been set from a pip config file) is incompatible with
# virtualenvs.
exe = self.find_executable(executable)
kwargs["env"] = dict(kwargs.pop("env", os.environ), PIP_USER="false")
kwargs["env"] = dict(kwargs.pop("env", os.environ), PIP_USER=str("false"))
return util.check_output([exe] + args, **kwargs)

def load_info_file(self, path):
Expand Down

0 comments on commit 18dc5fc

Please sign in to comment.