[New-bugs-announce] [issue29642] Why does unittest.TestLoader.discover still rely on existence of __init__.py files?

Andrei Fokau report at bugs.python.org
Fri Feb 24 11:48:45 EST 2017


New submission from Andrei Fokau:

Hi, As far as I see, unittest.TestLoader doesn't search in PEP-420 packages, i.e. packages without __init__.py files.

Is there some motivation behind this, or the loader was just not yet adapted for Implicit Namespace Packages?

----------
components: Tests
messages: 288529
nosy: Andrei Fokau
priority: normal
severity: normal
status: open
title: Why does unittest.TestLoader.discover still rely on existence of __init__.py files?
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list