[New-bugs-announce] [issue14500] test_importlib fails in refleak mode
Antoine Pitrou
report at bugs.python.org
Thu Apr 5 00:13:14 CEST 2012
New submission from Antoine Pitrou <pitrou at free.fr>:
$ ./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'
----------
assignee: brett.cannon
components: Library (Lib), Tests
messages: 157514
nosy: brett.cannon, pitrou
priority: normal
severity: normal
stage: needs patch
status: open
title: test_importlib fails in refleak mode
type: behavior
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14500>
_______________________________________
More information about the New-bugs-announce
mailing list