homepage

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_importlib fails in refleak mode
Type: behavior Stage: resolved
Components: Library (Lib), Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: brett.cannon Nosy List: brett.cannon, eric.snow, pitrou, python-dev
Priority: normal Keywords:

Created on 2012年04月04日 22:13 by pitrou, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (2)
msg157514 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012年04月04日 22:13
$ ./python -m test -R 3:2 test_importlib 
[1/1] test_importlib
beginning 5 repetitions
12345
test test_importlib failed -- Traceback (most recent call last):
 File "/home/antoine/cpython/default/Lib/importlib/test/import_/test_packages.py", line 41, in test_module_not_package_but_side_effects
 submodule = import_util.import_(subname)
 File "/home/antoine/cpython/default/Lib/importlib/test/import_/util.py", line 15, in import_
 return importlib.__import__(*args, **kwargs)
 File "/home/antoine/cpython/default/Lib/importlib/_bootstrap.py", line 1046, in __import__
 return sys.modules[name.partition('.')[0]]
KeyError: 'mod'
msg157672 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012年04月06日 17:13
New changeset 1c3bd0cc3eca by Brett Cannon in branch 'default':
Issue #14500: Fix importlib.test.import_.test_packages to clean up
http://hg.python.org/cpython/rev/1c3bd0cc3eca 
History
Date User Action Args
2022年04月11日 14:57:28adminsetgithub: 58705
2012年04月06日 17:13:50brett.cannonsetstatus: open -> closed
resolution: fixed
stage: needs patch -> resolved
2012年04月06日 17:13:27python-devsetnosy: + python-dev
messages: + msg157672
2012年04月05日 00:58:31eric.snowsetnosy: + eric.snow
2012年04月04日 22:13:13pitroucreate

AltStyle によって変換されたページ (->オリジナル) /