Skip to content

Commit

Permalink
Resolve venv_python symlink for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Oct 22, 2023
1 parent f629225 commit a606209
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyperformance/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def _resolve_venv_python(venv):
venv_python = os.path.join(venv, 'Scripts', basename)
else:
venv_python = os.path.join(venv, 'bin', 'python3')
if platform.system() == 'Darwin':
venv_python = str(pathlib.Path(venv_python).resolve())
return venv_python


Expand Down

0 comments on commit a606209

Please sign in to comment.