[Python-bugs-list] [ python-Bugs-765456 ] test zipimport fails

SourceForge.net noreply@sourceforge.net
Thu, 03 Jul 2003 11:19:31 -0700


Bugs item #765456, was opened at 2003-07-03 12:42
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765456&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Robin Friedrich (robinf1)
>Assigned to: Just van Rossum (jvr)
Summary: test zipimport fails

Initial Comment:
Python 2.3b2 build on AIX 4.3.3
Have no clue since zlib and other modules built/tested 
fine.

./python Lib/test/test_zipimport.py
testAFakeZlib 
(__main__.UncompressedZipImportTestCase) ... ERROR
testBadMTime 
(__main__.UncompressedZipImportTestCase) ... ok
testBadMagic 
(__main__.UncompressedZipImportTestCase) ... ok
testBadMagic2 
(__main__.UncompressedZipImportTestCase) ... ok
testBoth 
(__main__.UncompressedZipImportTestCase) ... ok
testDeepPackage 
(__main__.UncompressedZipImportTestCase) ... ok
testEmptyPy 
(__main__.UncompressedZipImportTestCase) ... ok
testGetData 
(__main__.UncompressedZipImportTestCase) ... ok
testImporterAttr 
(__main__.UncompressedZipImportTestCase) ... ok
testPackage 
(__main__.UncompressedZipImportTestCase) ... ok
testPy (__main__.UncompressedZipImportTestCase) ... 
ok
testPyc (__main__.UncompressedZipImportTestCase) ... 
ok
testAFakeZlib 
(__main__.CompressedZipImportTestCase) ... ERROR
testBadMTime 
(__main__.CompressedZipImportTestCase) ... ok
testBadMagic 
(__main__.CompressedZipImportTestCase) ... ok
testBadMagic2 
(__main__.CompressedZipImportTestCase) ... ok
testBoth (__main__.CompressedZipImportTestCase) ... ok
testDeepPackage 
(__main__.CompressedZipImportTestCase) ... ok
testEmptyPy 
(__main__.CompressedZipImportTestCase) ... ok
testGetData 
(__main__.CompressedZipImportTestCase) ... ok
testImporterAttr 
(__main__.CompressedZipImportTestCase) ... ok
testPackage 
(__main__.CompressedZipImportTestCase) ... ok
testPy (__main__.CompressedZipImportTestCase) ... ok
testPyc (__main__.CompressedZipImportTestCase) ... ok

==========================================
============================
ERROR: testAFakeZlib 
(__main__.UncompressedZipImportTestCase)
-------------------------------------------------------
---------------
Traceback (most recent call last):
  File "Lib/test/test_zipimport.py", line 89, in 
testAFakeZlib
    self.doTest(".py", files, "zlib")
  File "Lib/test/test_zipimport.py", line 65, in doTest
    file = mod.get_file()
AttributeError: 'module' object has no attribute 'get_file'

==========================================
============================
ERROR: testAFakeZlib 
(__main__.CompressedZipImportTestCase)
-------------------------------------------------------
---------------
Traceback (most recent call last):
  File "Lib/test/test_zipimport.py", line 89, in 
testAFakeZlib
    self.doTest(".py", files, "zlib")
  File "Lib/test/test_zipimport.py", line 65, in doTest
    file = mod.get_file()
AttributeError: 'module' object has no attribute 'get_file'

-------------------------------------------------------
---------------
Ran 24 tests in 0.692s

FAILED (errors=2)
Traceback (most recent call last):
  File "Lib/test/test_zipimport.py", line 196, in ?
    test_main()
  File "Lib/test/test_zipimport.py", line 192, in test_main
    CompressedZipImportTestCase
  
File "/fads/cn5a/csw/free/Python2.3b2/Lib/test/test_sup
port.py", line 259, in run_unittest
    run_suite(suite, testclass)
  
File "/fads/cn5a/csw/free/Python2.3b2/Lib/test/test_sup
port.py", line 246, in run_suite
    raise TestFailed(msg)
test.test_support.TestFailed: errors occurred; run in 
verbose mode for details



----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2003-07-03 14:19

Message:
Logged In: YES 
user_id=33168

Just, any ideas why get_file() doesn't exist?  I'll start
testing on the snake farm (AIX 4.3.1.0) and let you know if
I find anything.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=765456&group_id=5470