mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.11] gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091) (GH-113100)
(cherry picked from commit c6e953be12
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
This commit is contained in:
parent
e0c6995b4f
commit
08ff6fa23d
4 changed files with 12 additions and 6 deletions
|
@ -1681,7 +1681,7 @@ class MakedirTests(unittest.TestCase):
|
|||
os.removedirs(path)
|
||||
|
||||
|
||||
@os_helper.skip_unless_working_chmod
|
||||
@unittest.skipUnless(hasattr(os, "chown"), "requires os.chown()")
|
||||
class ChownFileTests(unittest.TestCase):
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue