This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients doko
Date 2009-02-11.14:51:22
SpamBayes Score 3.0942233e-06
Marked as misclassified No
Message-id <1234363884.6.0.67560680288.issue5217@psf.upfronthosting.co.za>
In-reply-to
Content
======================================================================
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?
History
Date User Action Args
2009-02-11 14:51:24dokosetrecipients: + doko
2009-02-11 14:51:24dokosetmessageid: <1234363884.6.0.67560680288.issue5217@psf.upfronthosting.co.za>
2009-02-11 14:51:23dokolinkissue5217 messages
2009-02-11 14:51:22dokocreate