Skip to content

Commit

Permalink
forgot to use reason=
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Oct 14, 2024
1 parent 05686d7 commit a45d84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/tests/test_memleaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit a45d84a

Please sign in to comment.