unittest.defaultTestLoader.discover fails for namespace packages
未关闭
还没有人认领这个 Issue。
3.10
3.9 (EOL)
stdlib
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
| BPO | 46635 |
|---|---|
| Nosy | @brettcannon, @ncoghlan, @rbtcollins, @ezio-melotti, @voidspace, @ericsnowcurrently, @tpapastylianou |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2022-02-04.11:35:56.455>
labels = ['type-bug', 'library', '3.9', '3.10']
title = 'unittest.defaultTestLoader.discover fails for namespace packages'
updated_at = <Date 2022-02-04.18:25:49.066>
user = 'https://github.com/tpapastylianou'
bugs.python.org fields:
activity = <Date 2022-02-04.18:25:49.066>
actor = 'eric.araujo'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2022-02-04.11:35:56.455>
creator = 'tpapastylianou'
dependencies = []
files = []
hgrepos = []
issue_num = 46635
keywords = []
message_count = 1.0
messages = ['412505']
nosy_count = 7.0
nosy_names = ['brett.cannon', 'ncoghlan', 'rbcollins', 'ezio.melotti', 'michael.foord', 'eric.snow', 'tpapastylianou']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue46635'
versions = ['Python 3.9', 'Python 3.10']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 unittest.defaultTestLoader.discover 开始,使用命名空间包重现报告的故障。阅读 unittest 的发现实现以及现有的发现测试(如果有),以确定预期行为。当命名空间包的测试发现由回归测试覆盖,并且行为符合文档说明时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- testing-qa
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100