New submission from Jonny Fuller <mr.waff...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue36723>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to