[New-bugs-announce] [issue13230] test_resources fails

Westley Martínez report at bugs.python.org
Thu Oct 20 05:56:09 CEST 2011


New submission from Westley Martínez <anikom15 at gmail.com>:

After running the uber test on the latest build of python (./python -bb -E -Wd -m test -r -w -uall) I get one error:
======================================================================
ERROR: test_resources (packaging.tests.test_command_install_data.InstallDataTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/westley/Projects/cpython/Lib/packaging/tests/test_command_install_data.py", line 134, in test_resources
    with packaging.database.get_file('Spamlib', 'spamd') as fp:
  File "/home/westley/Projects/cpython/Lib/packaging/database.py", line 649, in get_file
    return open(get_file_path(distribution_name, relative_path),
  File "/home/westley/Projects/cpython/Lib/packaging/database.py", line 644, in get_file_path
    raise LookupError('no distribution named %r found' % distribution_name)
LookupError: no distribution named 'Spamlib' found

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

I also pasted the entire test output (verbose) to the testout file

----------
components: Library (Lib)
files: testout.txt
messages: 146006
nosy: anikom15
priority: normal
severity: normal
status: open
title: test_resources fails
type: behavior
Added file: http://bugs.python.org/file23478/testout.txt

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


More information about the New-bugs-announce mailing list