classification
Title: test_zipfile failure
Type: Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, giampaolo.rodola
Priority: low Keywords:

Created on 2008-01-26 02:18 by giampaolo.rodola, last changed 2008-01-26 18:39 by giampaolo.rodola. This issue is now closed.

Files
File name Uploaded Description Edit
test_zipfile.diff giampaolo.rodola, 2008-01-26 02:18 normalize the path before checking its validity
Messages (3)
msg61698 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2008-01-26 02:18
Python 2.6.13903.msi, windows XP sp2:


======================================================================
ERROR: testExtract (__main__.TestsWithSourceFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python26\Lib\test\test_zipfile.py", line 357, in tearDown
    os.remove(TESTFN2)
WindowsError: [Error 32] The file used by another process: '@test2'

======================================================================
FAIL: testExtract (__main__.TestsWithSourceFile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Python26\Lib\test\test_zipfile.py", line 320, in testExtract
    self.assertEqual(writtenfile, correctfile)
AssertionError: 'C:\\Python26\\Lib\\test\\ziptest2dir\\_ziptest2' !=
'C:\\Python
26\\Lib\\test\\ziptest2dir/_ziptest2'

----------------------------------------------------------------------
msg61711 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2008-01-26 16:44
Applied in r60326

Thanks! Next time please explain the ratio for the fix in a sentence and
don't commit a patch with absolute file names.
msg61712 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2008-01-26 18:39
You're right, sorry. I'll do that.
History
Date User Action Args
2008-01-26 18:39:33giampaolo.rodolasetmessages: + msg61712
2008-01-26 16:44:32christian.heimessetstatus: open -> closed
priority: low
resolution: fixed
messages: + msg61711
nosy: + christian.heimes
2008-01-26 02:18:56giampaolo.rodolacreate