diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-22 20:53:50 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-22 20:53:50 +0200 |
commit | 91eac21eb92a319e5282f1cc100b39e3e38aa649 (patch) | |
tree | 1a3a150c33e2c1be10a73ac01f88c4df13618e86 | |
parent | 803d0a50818d08faa396245c0e02e4bdd4b1b077 (diff) | |
download | psutil-91eac21eb92a319e5282f1cc100b39e3e38aa649.tar.gz |
try to fix win failure
-rw-r--r-- | psutil/tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/__init__.py b/psutil/tests/__init__.py index 12c18de5..95360133 100644 --- a/psutil/tests/__init__.py +++ b/psutil/tests/__init__.py @@ -206,7 +206,7 @@ def _get_py_exe(): if PYPY: return which("pypy3") if PY3 else which("pypy") elif WINDOWS: - return os.path.realpath(sys.executable) + return sys.executable else: return which('python') elif MACOS: |