Skip to content

Commit

Permalink
try to fix OSX/Travis failure
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Apr 24, 2020
1 parent 7195236 commit f37145b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/tests/__init__.py
Expand Up @@ -793,7 +793,7 @@ def get_testfn(suffix="", dir=None):
name = tempfile.mktemp(prefix=prefix, suffix=suffix, dir=dir)
if not os.path.exists(name): # also include dirs
_testfiles_created.add(name)
return name
return os.path.realpath(name) # needed for OSX


# ===================================================================
Expand Down

0 comments on commit f37145b

Please sign in to comment.