We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bf4a48 commit 3b54acdCopy full SHA for 3b54acd
Lib/test/test_tarfile.py
@@ -3302,7 +3302,8 @@ def check_files_present(self, directory):
3302
for p in pathlib.Path(directory).glob('**/*'))
3303
if self.extraction_filter in (None, 'data'):
3304
# The 'data' filter is expected to reject special files
3305
- got_paths.discard(pathlib.Path('ustar/fifotype'))
+ for path in 'ustar/fifotype', 'ustar/blktype', 'ustar/chrtype':
3306
+ got_paths.discard(pathlib.Path(path))
3307
self.assertEqual(self.control_paths, got_paths)
3308
3309
@contextmanager
0 commit comments