[issue11683] unittest discover should recurse into packages which are already in sys.path

Michael Foord report at bugs.python.org
Sat Mar 26 23:56:14 CET 2011


Michael Foord <michael at voidspace.org.uk> added the comment:

Discover does recurse into directories - but only packages, so the algorithm for importing them is trivial. You're suggesting enhancing that to multiple strategies (checking non package directories to see if they are on the path and then recursing into them as well). I can well believe the docs could do with clarifying though - and a patch for that would be awesome.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11683>
_______________________________________


More information about the Python-bugs-list mailing list