This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2019年04月25日 19:04 by mrwaffles, last changed 2022年04月11日 14:59 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg340857 - (view) | Author: Jonny Fuller (mrwaffles) | Date: 2019年04月25日 19:04 | |
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. |
|||
| msg349971 - (view) | Author: Roger Gammans (rgammans) | Date: 2019年08月19日 21:40 | |
I think this is a duplicate of one (or both) of 35617, or 23882 . Both of those have unmerged proposed fixes. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:59:14 | admin | set | github: 80904 |
| 2020年07月19日 04:37:03 | methane | set | status: open -> closed superseder: unittest discovery doesn't detect namespace packages when given no parameters resolution: duplicate stage: resolved |
| 2020年07月19日 04:05:09 | xtreak | set | nosy:
+ methane |
| 2019年10月28日 20:48:40 | pconnell | set | nosy:
+ pconnell |
| 2019年08月19日 21:40:35 | rgammans | set | nosy:
+ rgammans messages: + msg349971 |
| 2019年04月25日 19:12:36 | eric.smith | set | nosy:
+ eric.smith |
| 2019年04月25日 19:04:03 | mrwaffles | create | |