Arfrever Frehtes Taifersar Arahesis <[email protected]> added the comment:
Apparently this patch isn't sufficient for test___all__.
Please create empty _xmlplus directory (without __init__.py) in site-packages
directory appropriate for given sys.prefix (e.g.
/usr/lib/python3.2/site-packages/_xmlplus for sys.prefix='/usr').
The output of `make test` contains:
LD_LIBRARY_PATH=/var/tmp/portage/dev-lang/python-3.2_pre20110102/work/python-3.2_pre20110102:
./python -Wd -E -bb -S -s ./Lib/test/regrtest.py -j1
== CPython 3.2b2+ (py3k:87612, Jan 3 2011, 18:30:27) [GCC 4.4.5]
==
linux-2.6.34-tuxonice-r8-afta-x86_64-intel-r-_pentium-r-_dual_cpu_t23...@_1.86ghz-with-gentoo-2.0.1
little-endian
==
/var/tmp/portage/dev-lang/python-3.2_pre20110102/work/python-3.2_pre20110102/build/test_python_2301
[ 1/349] test_grammar
[ 2/349] test_opcodes
[ 3/349] test_dict
[ 4/349] test_builtin
[ 5/349] test_exceptions
[ 6/349] test_types
[ 7/349] test_unittest
[ 8/349] test_doctest
[ 9/349] test_doctest2
[ 10/349] test___all__
Warning -- sys.path was modified by test___all__
test test___all__ failed -- Traceback (most recent call last):
File
"/var/tmp/portage/dev-lang/python-3.2_pre20110102/work/python-3.2_pre20110102/Lib/test/test___all__.py",
line 101, in test_all
self.check_all(modname)
File
"/var/tmp/portage/dev-lang/python-3.2_pre20110102/work/python-3.2_pre20110102/Lib/test/test___all__.py",
line 28, in check_all
raise FailedImport(modname)
File
"/var/tmp/portage/dev-lang/python-3.2_pre20110102/work/python-3.2_pre20110102/Lib/contextlib.py",
line 35, in __exit__
next(self.gen)
File
"/var/tmp/portage/dev-lang/python-3.2_pre20110102/work/python-3.2_pre20110102/Lib/test/support.py",
line 623, in _filterwarnings
raise AssertionError("unhandled warning %s" % reraise[0])
AssertionError: unhandled warning {message : ImportWarning("Not importing
directory '/usr/lib/python3.2/site-packages/_xmlplus': missing __init__.py",),
category : 'ImportWarning', filename :
'/var/tmp/portage/dev-lang/python-3.2_pre20110102/work/python-3.2_pre20110102/Lib/xml/__init__.py',
lineno : 26, line : None}
[ 11/349] test___future__
[ 12/349] test__locale
[ 13/349] test_abc
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1674555>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com