Skip to content

Commit

Permalink
Fix utility tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Blanca-Fuentes committed Jan 14, 2025
1 parent 8d5937d commit 7d3cbfa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions reframe/utility/osext.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@ async def start(self):
if self._proc.returncode is None:
try:
p = psutil.Process(self._proc.pid)
except psutil.NoSuchProcess:
pass
else:
if p.ppid() == self._proc.pid:
self._session = True
except psutil.NoSuchProcess:
pass

return self

Expand Down

0 comments on commit 7d3cbfa

Please sign in to comment.