Skip to content

Commit

Permalink
dirty trick
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Jan 11, 2024
1 parent 25936b5 commit 55202aa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions psutil/tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,11 @@ def wait_for_pid(pid):
if pid not in psutil.pids():
raise psutil.NoSuchProcess(pid)
psutil.Process(pid)
if WINDOWS and GITHUB_ACTIONS:
# This is very weird but needed for tests like
# TestProcess.test_long_name and
# TestProcess.test_prog_w_funky_name
time.sleep(0.1)


@retry(
Expand Down

0 comments on commit 55202aa

Please sign in to comment.