[issue11946] 2.7.1 'test_commands' build test fails

Jason Vas Dias report at bugs.python.org
Fri Apr 29 13:23:15 CEST 2011


Jason Vas Dias <jason.vas.dias at gmail.com> added the comment:

OK, the test failures reported for this bug now succeed with Python-3.3
from latest HG head . 
But Python-3.3 now has its own new test failures :



[149/354] test_import                                                                                                                                                 
test test_import failed -- Traceback (most recent call last):                                                                                                         
  File "/usr/src/cpython/Lib/test/test_import.py", line 545, in test_unwritable_directory                                                                             
    '__pycache__', '{}.{}.pyc'.format(TESTFN, self.tag))))                                                                                                            
AssertionError: True is not false                                                                                                                                     

Hmm, don't want a python that can't do 'import' .

So my choices are, in order to get a working modern python release  :

  o fix the broken dynamic loader in Python-2.7
  o fix the broken import mechanism in Python-3.3

Thanks !  



BTW, this error occurs because I don't have RPM :
[ 93/354] test_distutils
error: error creating temporary file ${prefix}/var/tmp/rpm-tmp.amzIxR: No such file or directory
error: Unable to open temp file.
error: error creating temporary file ${prefix}/var/tmp/rpm-tmp.nwKS2z: No such file or directory
error: Unable to open temp file.
test test_distutils failed -- multiple errors occurred; run in verbose mode for details

this is because I don't have RPM (or maybe an old broken RPM inst) -
I suggest this test should test for the existence and usability
of rpm before using rpm - and should skip itself if rpm not usable.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11946>
_______________________________________


More information about the Python-bugs-list mailing list