Skip to content

test_tarfile fails on file modes #107902

Closed
Closed
@furkanonder

Description

@furkanonder

Checklist

  • I am confident this is a bug in CPython, not a bug in a third-party project
  • I have searched the CPython issue tracker, and am confident this bug has not been reported before

[ted@rasp4 cpython]$ ./python -m test test_tarfile
0:00:00 load avg: 0.27 Run tests sequentially
0:00:00 load avg: 0.27 [1/1] test_tarfile
test test_tarfile failed -- Traceback (most recent call last):
  File "/home/ted/cpython/Lib/test/test_tarfile.py", line 3679, in test_modes
    self.expect_file('all_bits', mode='?rwsrwsrwt')
  File "/home/ted/cpython/Lib/test/test_tarfile.py", line 3429, in expect_file
    self.assertEqual(got, mode)
AssertionError: '?rwsrwxrwt' != '?rwsrwsrwt'
- ?rwsrwxrwt
?       ^
+ ?rwsrwsrwt
?       ^

Your environment

  • CPython versions tested on: Python 3.13.0a0
  • Operating system and architecture: Manjaro ARM Linux aarch64 | Raspberry Pi 4 Model B Rev 1.5
  • Configuration of CPython: ./configure --with-pydebug

Linked PRs

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions