Package: python2.4-codespeak-lib
Version: 0.7-svn20050721-3
Severity: important
The way py.test is packaged prevents it from being used to test
documentation.
For instance, on a fresh checkout of pypy, running
/usr/bin/py.test.python2.4 in the pypy/doc directory gives the
following traceback:
Traceback (most recent call last):
File "/usr/bin/py.test.python2.4", line 4, in ?
py.test.cmdline.main()
File "/usr/lib/python2.4/site-packages/py/test/cmdline.py", line 8, in main
config, args = py.test.Config.parse(py.std.sys.argv[1:])
File "/usr/lib/python2.4/site-packages/py/test/config.py", line 61, in parse
config = bootstrapconfig(configpaths)
File "/usr/lib/python2.4/site-packages/py/test/config.py", line 167, in
bootstrapconfig
config.loadconfig(configpath)
File "/usr/lib/python2.4/site-packages/py/test/config.py", line 91, in
loadconfig
mod = importconfig(configpath)
File "/usr/lib/python2.4/site-packages/py/test/config.py", line 208, in
importconfig
return configpath.pyimport()
File "/usr/lib/python2.4/site-packages/py/path/local/local.py", line 388, in
pyimport
return __import__(modname, None, None, ['__doc__'])
File "/home/alf/cvs_checkouts/pypy/dist/pypy/doc/conftest.py", line 2, in ?
from py.__.documentation.conftest import Directory, DoctestText, ReSTChecker
ImportError: No module named conftest
Running python2.4 ../../py/bin/py.test from the same directory works
fine.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-15) (ignored: LC_ALL set to [EMAIL
PROTECTED])
Versions of packages python2.4-codespeak-lib depends on:
ii libc6 2.3.6-4 GNU C Library: Shared libraries an
ii python2.4 2.4.3-1 An interactive high-level object-o
python2.4-codespeak-lib recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]