diff --git a/psutil/tests/test_memleaks.py b/psutil/tests/test_memleaks.py index cd1b3f290..ec0866158 100755 --- a/psutil/tests/test_memleaks.py +++ b/psutil/tests/test_memleaks.py @@ -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