Skip to content

Commit

Permalink
fix posix failure
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Nov 24, 2017
1 parent 34fb366 commit 04e8672
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psutil/tests/test_posix.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ def test_name(self):
name_psutil = psutil.Process(self.pid).name().lower()
# ...because of how we calculate PYTHON_EXE; on OSX this may
# be "pythonX.Y".
name_ps = re.sub(r"\d.\d", "", name_ps)
name_psutil = re.sub(r"\d.\d", "", name_psutil)
self.assertEqual(name_ps, name_psutil)

Expand Down

0 comments on commit 04e8672

Please sign in to comment.