Message262429
The PEP 420 -- Implicit Namespace Packages introduces packages which have no __init__.py file and can be made of multiple packages. It looks like doctest doesn't support them.
I would like to convert the Lib/test/ of the Python standard library into such package for the issue #26295.
I propose to use an heuristic when the package is only made of one directory (when module.__path__ only contains one entry): use this directory to lookup for requested test files.
Attached patch implements that. |
|
Date |
User |
Action |
Args |
2016-03-25 12:00:35 | vstinner | set | recipients:
+ vstinner, brett.cannon, ncoghlan, eric.snow |
2016-03-25 12:00:35 | vstinner | set | messageid: <1458907235.84.0.937791906936.issue26641@psf.upfronthosting.co.za> |
2016-03-25 12:00:35 | vstinner | link | issue26641 messages |
2016-03-25 12:00:35 | vstinner | create | |
|