This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_resources fails
Type: behavior Stage: resolved
Components: Library (Lib), Tests Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: alexis, eric.araujo, nadeem.vawda, tarek, westley.martinez
Priority: normal Keywords:

Created on 2011-10-20 03:56 by westley.martinez, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
testout.txt westley.martinez, 2011-10-20 03:56 Test output
Messages (2)
msg146006 - (view) Author: Westley Martínez (westley.martinez) * Date: 2011-10-20 03:56
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
msg146010 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2011-10-20 08:33
This seems to be a duplicate of issue 13193.
History
Date User Action Args
2022-04-11 14:57:22adminsetgithub: 57439
2011-10-20 08:33:56nadeem.vawdasetstatus: open -> closed

nosy: + nadeem.vawda
messages: + msg146010

resolution: duplicate
stage: needs patch -> resolved
2011-10-20 03:57:45ezio.melottisetnosy: + tarek, eric.araujo, alexis
stage: needs patch

components: + Tests
versions: + Python 3.3
2011-10-20 03:56:08westley.martinezcreate