Olivier Grisel added the comment:

> So the question is exactly what module is being passed to 
> importlib.find_spec() and why isn't it finding a spec/loader for that module.

The module is the `nosetests` python script. module_name == 'nosetests' in this 
case. However, nosetests is not considered an importable module because of the 
missing '.py' extension in the filename.

> Did this code work in Python 3.3?

This code did not exist in Python 3.3.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19946>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to