]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-108948: Skip test_tarfile.test_modes() on EFTYPE error (#109697) (#109699)
authorVictor Stinner <vstinner@python.org>
Thu, 21 Sep 2023 23:29:49 +0000 (01:29 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Sep 2023 23:29:49 +0000 (23:29 +0000)
commit3a6d8e615f4094328f6ed67e8bf314409dd3df26
treef642c2993bba0517bf3562d06e0d681ada96e86d
parentb3af888342db12915f0cdaaacbdc61aadfb62eff
[3.11] gh-108948: Skip test_tarfile.test_modes() on EFTYPE error (#109697) (#109699)

gh-108948: Skip test_tarfile.test_modes() on EFTYPE error (#109697)

On FreeBSD, regular users cannot set the sticky bit. Skip the test if
chmod() fails with EFTYPE error.

(cherry picked from commit 26e06ad617bb416201c769fea91cd33d544c6a1c)
Lib/test/test_tarfile.py