diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-07 13:27:53 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-07 13:27:53 (GMT) |
commit | 149a8993b0cc7a4c3a252b9387a28b8c75bc1116 (patch) | |
tree | 31d17ecca8a951d3d4406925432806832d66573c /Lib/test/test_tarfile.py | |
parent | c7fcc2d772c6ccaa71002aaa2aace16ed8adf471 (diff) | |
download | cpython-149a8993b0cc7a4c3a252b9387a28b8c75bc1116.zip cpython-149a8993b0cc7a4c3a252b9387a28b8c75bc1116.tar.gz cpython-149a8993b0cc7a4c3a252b9387a28b8c75bc1116.tar.bz2 |
The filename fix of the previous checkin was complete bogus, the problem is elsewhere. Retracting.
Diffstat (limited to 'Lib/test/test_tarfile.py')
-rw-r--r-- | Lib/test/test_tarfile.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_tarfile.py b/Lib/test/test_tarfile.py index f865ceb..bd80258 100644 --- a/Lib/test/test_tarfile.py +++ b/Lib/test/test_tarfile.py @@ -74,7 +74,7 @@ class ReadTest(BaseTest): """ if self.sep != "|": f1 = self.tar.extractfile("S-SPARSE") - f2 = self.tar.extractfile("/S-SPARSE-WITH-NULLS") + f2 = self.tar.extractfile("S-SPARSE-WITH-NULLS") self.assert_(f1.read() == f2.read(), "_FileObject failed on sparse file member") @@ -82,7 +82,7 @@ class ReadTest(BaseTest): """Test readlines() method of _FileObject. """ if self.sep != "|": - filename = "/0-REGTYPE-TEXT" + filename = "0-REGTYPE-TEXT" self.tar.extract(filename, dirname()) lines1 = file(os.path.join(dirname(), filename), "rU").readlines() lines2 = self.tar.extractfile(filename).readlines() @@ -93,7 +93,7 @@ class ReadTest(BaseTest): """Test seek() method of _FileObject, incl. random reading. """ if self.sep != "|": - filename = "/0-REGTYPE" + filename = "0-REGTYPE" self.tar.extract(filename, dirname()) data = file(os.path.join(dirname(), filename), "rb").read() |