[New-bugs-announce] [issue36723] Unittest Discovery for namespace subpackages dot notation fails

Jonny Fuller report at bugs.python.org
Thu Apr 25 15:04:03 EDT 2019


New submission from Jonny Fuller <mr.waffles at gmail.com>:

Hi friends,

I noticed strange behavior involving unittest discovery with namespace packages. Using dot notation to discover test packages within a namespace package will fail, but will succeed when using path notation.

It feels awkward that dot path would fail but normal path would succeed. Is this the desired behavior?

I created a demo repo and fully documented this odd behavior here

https://github.com/JonnyWaffles/djangonamespacetestfail.

----------
messages: 340857
nosy: mrwaffles
priority: normal
severity: normal
status: open
title: Unittest Discovery for namespace subpackages dot notation fails
type: behavior
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36723>
_______________________________________


More information about the New-bugs-announce mailing list