From a45d84ae1d2b515a4576b4c7432736919e9b7f99 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Mon, 14 Oct 2024 12:19:35 +0200 Subject: [PATCH] forgot to use reason= --- psutil/tests/test_memleaks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psutil/tests/test_memleaks.py b/psutil/tests/test_memleaks.py index 697baf0b5..e249ca516 100755 --- a/psutil/tests/test_memleaks.py +++ b/psutil/tests/test_memleaks.py @@ -425,7 +425,7 @@ def test_net_io_counters(self): self.execute(lambda: psutil.net_io_counters(nowrap=False)) @fewtimes_if_linux() - @pytest.mark.skipif(MACOS and os.getuid() != 0, "need root access") + @pytest.mark.skipif(MACOS and os.getuid() != 0, reason="need root access") def test_net_connections(self): # always opens and handle on Windows() (once) psutil.net_connections(kind='all')