[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-bugs-list
Subject:    [issue29642] Why does unittest.TestLoader.discover still rely on existence of __init__.py files?
From:       INADA Naoki <report () bugs ! python ! org>
Date:       2017-02-28 7:51:39
Message-ID: 1488268299.65.0.0644632369783.issue29642 () psf ! upfronthosting ! co ! za
[Download RAW message or body]


INADA Naoki added the comment:

When using import, (namespace) package name is explicitly specified.
Only specified name is searched.

In test loader's case, there are no such limit.
Loader may search millions of completely unrelated directories.
It may include directories in NFS or samba over slow network.

----------

_______________________________________
Python tracker <report@bugs.python.org>
<http://bugs.python.org/issue29642>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/python-bugs-list%40marc.info

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic