Lines Matching refs:empty
171 "read() at file's end did not return empty string")
404 # Test for issue6123: Allow opening empty archives.
405 # This test checks if tarfile.open() is able to open an empty tar
406 # archive successfully. Note that an empty tar archive is not the
407 # same as an empty file!
414 self.fail("tarfile.open() failed on empty archive")
427 # Test for issue6123: Allow opening empty archives.
428 # This test guarantees that tarfile.open() does not treat an empty
429 # file as an empty tar archive.
717 # the fact that opening an empty file raises a ReadError.
718 empty = os.path.join(TEMPDIR, "empty")
719 with open(empty, "wb") as fobj:
725 tar.__init__(empty)
731 os_helper.unlink(empty)
1276 "tarfile is empty")
1440 # Create a tarfile with an empty member named path
1549 pax_headers={'non': 'empty'})
2440 # Issue 24514: Test if empty number fields are converted to zero.
2825 # on an empty or partial bzipped file.