Message81646
======================================================================
ERROR: testExtractDir (test.test_zipfile.TestWithDirectory)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/packages/python/2.6/python2.6-2.6.1/Lib/test/test_zipfile.py",
line 991, in testExtractDir
zipf = zipfile.ZipFile(findfile("zipdir.zip"))
File "/home/packages/python/2.6/python2.6-2.6.1/Lib/zipfile.py", line
680, in __init__
self.fp = open(file, modeDict[mode])
IOError: [Errno 2] No such file or directory: 'zipdir.zip'
test.test_support.findfile searches in sys.path and in the directory
where test_support.py is located. this seems to be wrong when python is
built with srcdir != builddir. should the test overwrite the optional
second argument when calling findfile? |
|
Date |
User |
Action |
Args |
2009-02-11 14:51:24 | doko | set | recipients:
+ doko |
2009-02-11 14:51:24 | doko | set | messageid: <1234363884.6.0.67560680288.issue5217@psf.upfronthosting.co.za> |
2009-02-11 14:51:23 | doko | link | issue5217 messages |
2009-02-11 14:51:22 | doko | create | |
|