the test suite fails for 0.50.2 with these errors:
==================== unittest_configuration.py =====================
.........E...
======================================================================
ERROR: test_manpage (unittest_configuration.ConfigurationTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/morph/deb/build-area/logilab-common-0.50.2/test/unittest_configuration.py", line 292, in test_manpage
self.cfg.generate_manpage(__pkginfo__, stream=StringIO())
File "/home/morph/deb/build-area/logilab-common-0.50.2/build/lib/logilab/common/configuration.py", line 576, in generate_manpage
section, stream=stream or sys.stdout)
File "/home/morph/deb/build-area/logilab-common-0.50.2/build/lib/logilab/common/optik_ext.py", line 377, in generate_manpage
print >> stream, formatter.format_head(optparser, pkginfo, section)
File "/home/morph/deb/build-area/logilab-common-0.50.2/build/lib/logilab/common/optik_ext.py", line 320, in format_head
short_desc = self.format_short_description(pgm, pkginfo.short_desc)
AttributeError: 'module' object has no attribute 'short_desc'
===================== unittest_deprecation.py ======================
...E
======================================================================
ERROR: test_moved (unittest_deprecation.RawInputTC)
----------------------------------------------------------------------
Traceback (most recent call last)
File "/home/morph/deb/build-area/logilab-common-0.50.2/test/unittest_deprecation.py", line 73, in test_moved
any_func()
File "/home/morph/deb/build-area/logilab-common-0.50.2/build/lib/logilab/common/deprecation.py", line 113, in callnew
m = load_module_from_name(modpath)
File "/home/morph/deb/build-area/logilab-common-0.50.2/build/lib/logilab/common/modutils.py", line 113, in load_module_from_name
return load_module_from_modpath(dotted_name.split('.'), path, use_sys)
File "/home/morph/deb/build-area/logilab-common-0.50.2/build/lib/logilab/common/modutils.py", line 152, in load_module_from_modpath
mp_file, mp_filename, mp_desc = find_module(part, path)
ImportError: No module named test
It would be extra cool if you could provide a patch to apply against 0.50.2 so that I can upload the debian package (I'm currently waiting since this failure). Else, a .3 release might be nice aswell :)
Regards,
Sandro
|
Comments
-
2010/06/04 16:10, written by stosi
-
2010/06/04 16:56, written by nchauvat
-
2010/06/04 17:07, written by stosi
-
2013/02/13 15:57, written by idella4
-
2013/02/15 08:33, written by sthenault
-
2013/02/15 08:39, written by sthenault
add commentthe commit 1150:d347bb3985e4 fixes the "AttributeError: 'module' object has no attribute 'short_desc'" but not the "ImportError: No module named test
" error
http://www.logilab.org/projectenvironment/logilab-common%20tests/quick shows the test failures.
and infact it fails with "No module named test" - http://www.logilab.org/projectenvironment/logilab-common%20tests/quick/33689
curious about the status of resolve. 1 out of 2 makes for a resolution?
I can take the one patch and commit it to portage, but I would'nt be closing the gentoo bug equivalent of this as closed.
do you still have this pb running tests as of 0.59 ? Using which python version then ? I don't reproduce it using py 2.7.
nor using py 3.2.3