Skip to content

Commit

Permalink
try to fix some flaky tests 2
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 19, 2024
1 parent 45934bb commit c0e1eb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions psutil/tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ def test_name(self):

@pytest.mark.skipif(PYPY or QEMU_USER, reason="unreliable on PYPY")
@pytest.mark.skipif(QEMU_USER, reason="unreliable on QEMU user")
@pytest.mark.skipif(MACOS and not PY3, reason="broken MACOS + PY2")
def test_long_name(self):
pyexe = create_py_exe(self.get_testfn(suffix=string.digits * 2))
cmdline = [
Expand Down Expand Up @@ -845,6 +846,7 @@ def test_long_name(self):
@pytest.mark.skipif(PYPY, reason="broken on PYPY")
@pytest.mark.skipif(SUNOS, reason="broken on SUNOS")
@pytest.mark.skipif(MACOS and not PY3, reason="broken MACOS + PY2")
@retry_on_failure
def test_prog_w_funky_name(self):
# Test that name(), exe() and cmdline() correctly handle programs
# with funky chars such as spaces and ")", see:
Expand Down

0 comments on commit c0e1eb1

Please sign in to comment.