]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149879: Fix test_tarfile on Cygwin (#149897)
authorVictor Stinner <vstinner@python.org>
Fri, 15 May 2026 20:49:37 +0000 (22:49 +0200)
committerGitHub <noreply@github.com>
Fri, 15 May 2026 20:49:37 +0000 (20:49 +0000)
commitc92ef3a6def2c9ef385c596a1eee00d9b07c2ec3
tree0fcb9faecf67ae3a139d49ec6c38eb3ef32bc1de
parentd9ad171ced9b4814e22fe0b078d197de86c1393d
gh-149879: Fix test_tarfile on Cygwin (#149897)

On Cygwin, there is no root user (uid 0).

Fix test_realpath_limit_attack(): the test fails with ELOOP on
Cygwin.
Lib/test/test_tarfile.py