mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534)
WASI does not have the ``chmod(2)`` syscall yet.
This commit is contained in:
parent
56b5daf159
commit
22fed605e0
20 changed files with 81 additions and 5 deletions
|
@ -193,8 +193,7 @@ class PosixPathTest(unittest.TestCase):
|
|||
self.assertIs(posixpath.ismount('/\x00'), False)
|
||||
self.assertIs(posixpath.ismount(b'/\x00'), False)
|
||||
|
||||
@unittest.skipUnless(os_helper.can_symlink(),
|
||||
"Test requires symlink support")
|
||||
@os_helper.skip_unless_symlink
|
||||
def test_ismount_symlinks(self):
|
||||
# Symlinks are never mountpoints.
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue