Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Giampaolo Rodola <[email protected]>
  • Loading branch information
giampaolo authored and aplanas committed Oct 24, 2023
1 parent 6fb4801 commit 27c4880
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions psutil/tests/test_memleaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,14 @@ def test_win_service_get_description(self):
name = next(psutil.win_service_iter()).name()
self.execute(lambda: cext.winservice_query_descr(name))

if LINUX:

def test_users_systemd(self):
self.execute(cext.users_systemd)

def test_users_utmp(self):
self.execute(cext.users_utmp)


if __name__ == '__main__':
from psutil.tests.runner import run_from_name
Expand Down

0 comments on commit 27c4880

Please sign in to comment.