Skip to content

Conversation

@methane
Copy link
Member

@methane methane commented Jul 20, 2020

Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like vendor/ or node_modules/.

https://bugs.python.org/issue23882

Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like `vendor/` or `node_modules/`.
@methane methane added docs Documentation in the Doc dir skip news needs backport to 3.7 labels Jul 20, 2020
@methane methane requested review from ericvsmith and voidspace July 20, 2020 09:18
@methane methane merged commit 5a4aa4c into python:master Feb 22, 2021
@methane methane deleted the doc-unittest-discovery branch February 22, 2021 06:14
@miss-islington
Copy link
Contributor

Thanks @methane for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8, 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2021
Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like `vendor/` or `node_modules/`.
(cherry picked from commit 5a4aa4c)

Co-authored-by: Inada Naoki <[email protected]>
@bedevere-bot
Copy link

GH-24619 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2021
Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like `vendor/` or `node_modules/`.
(cherry picked from commit 5a4aa4c)

Co-authored-by: Inada Naoki <[email protected]>
@bedevere-bot
Copy link

GH-24620 is a backport of this pull request to the 3.8 branch.

@bedevere-bot
Copy link

GH-24621 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 22, 2021
Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like `vendor/` or `node_modules/`.
(cherry picked from commit 5a4aa4c)

Co-authored-by: Inada Naoki <[email protected]>
miss-islington added a commit that referenced this pull request Feb 22, 2021
Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like `vendor/` or `node_modules/`.
(cherry picked from commit 5a4aa4c)

Co-authored-by: Inada Naoki <[email protected]>
miss-islington added a commit that referenced this pull request Feb 22, 2021
Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like `vendor/` or `node_modules/`.
(cherry picked from commit 5a4aa4c)

Co-authored-by: Inada Naoki <[email protected]>
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
Unittest discovery support namespace package as start
directory. But it doesn't find namespace package in
the start directory automatically.

Otherwise, unittest discovery search into unexpected
directories like `vendor/` or `node_modules/`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants