We can always chmod
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python310?expand=0&rev=87
This commit is contained in:
parent
d6d4479296
commit
6a2f407ebc
@ -2066,7 +2066,7 @@ Content-Transfer-Encoding: 8bit
|
||||
+ path = pathlib.Path(os.path.normpath(self.destdir / name))
|
||||
+ self.assertIn(path, self.expected_paths)
|
||||
+ self.expected_paths.remove(path)
|
||||
+ if mode is not None and os_helper.can_chmod():
|
||||
+ if mode is not None:
|
||||
+ got = stat.filemode(stat.S_IMODE(path.stat().st_mode))
|
||||
+ self.assertEqual(got, mode)
|
||||
+ if type is None and isinstance(name, str) and name.endswith('/'):
|
||||
|
Loading…
Reference in New Issue
Block a user