Skip to content

Commit

Permalink
remove temporary @skipIf windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 17, 2023
1 parent dbd5977 commit 7dd31ac
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions psutil/tests/test_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def proc_info(pid):

def check_exception(exc, proc, name, ppid):
tcase.assertEqual(exc.pid, pid)
tcase.assertEqual(exc.name, proc._name)
tcase.assertEqual(exc.name, name)
if isinstance(exc, psutil.ZombieProcess):
tcase.assertProcessZombie(proc)
if exc.ppid is not None:
Expand Down Expand Up @@ -433,8 +433,6 @@ def iter_proc_info(self):
ls.append(proc_info(pid))
return ls

# XXX
@unittest.skipIf(WINDOWS, "temporary")
def test_all(self):
failures = []
for info in self.iter_proc_info():
Expand Down
1 change: 0 additions & 1 deletion psutil/tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,6 @@ def test_cmdline(self):
self.assertEqual(' '.join(p.cmdline()), ' '.join(cmdline))

@unittest.skipIf(PYPY, "broken on PYPY")
@unittest.skipIf(WINDOWS, "temporary")
def test_long_cmdline(self):
testfn = self.get_testfn()
create_exe(testfn)
Expand Down
1 change: 0 additions & 1 deletion psutil/tests/test_unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ def setUp(self):
@serialrun
@unittest.skipIf(ASCII_FS, "ASCII fs")
@unittest.skipIf(PYPY and not PY3, "too much trouble on PYPY2")
@unittest.skipIf(WINDOWS, "temporary")
class TestFSAPIs(BaseUnicodeTest):
"""Test FS APIs with a funky, valid, UTF8 path name."""

Expand Down

0 comments on commit 7dd31ac

Please sign in to comment.