Skip to content

Commit f869c5f

Browse files
committed
Skip other affected test
1 parent 97f2aaa commit f869c5f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎Lib/test/test_tempfile.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,6 +1862,9 @@ def test(target, target_is_directory):
18621862
'emscripten-core/emscripten#27761')
18631863
@unittest.skipUnless(shutil.rmtree.avoids_symlink_attacks,
18641864
'requires the fd based implementation of rmtree()')
1865+
@unittest.skipIf(
1866+
sys.platform == "android",
1867+
"On Android, os.chmod doesn't support dir_fd until API level 23")
18651868
def test_cleanup_with_symlink_race(self):
18661869
# cleanup() should not operate on files outside of the temporary
18671870
# directory when a directory is replaced with a symlink while it

0 commit comments

Comments
 (0)