Skip to content

Commit 2597aad

Browse files
committed
gh-101334: Don't force USTAR format in test_tarfile.
That causes the test to fail when run using a high UID as that ancient format cannot represent it. The current default (PAX) and the old default (GNU) both support high UIDs.
1 parent 5a2b984 commit 2597aad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/test/test_tarfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ def test_add_dir_getmember(self):
228228
def add_dir_and_getmember(self, name):
229229
with os_helper.temp_cwd():
230230
with tarfile.open(tmpname, 'w') as tar:
231-
tar.format = tarfile.USTAR_FORMAT
232231
try:
233232
os.mkdir(name)
234233
tar.add(name)

0 commit comments

Comments
 (0)