Skip to content

Commit

Permalink
BUG: os.environ can only contain byte strings
Browse files Browse the repository at this point in the history
  • Loading branch information
pv committed Jun 25, 2017
1 parent 7f0f398 commit 9c8bc42
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="false".encode('utf-8'))
return util.check_output([exe] + args, **kwargs)

def load_info_file(self, path):
Expand Down

0 comments on commit 9c8bc42

Please sign in to comment.