Some functions within `msvcrt` don't have tests
未关闭
还没有人认领这个 Issue。
tests
type-feature
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
Bug report
Bug description:
The GetErrorMode and SetErrorMode, and some functions which are only avialable under debug build don't have tests.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
- gh-126029
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位 CPython 中针对 msvcrt 模块的现有测试,并检查 Windows 专用函数和 debug-build 函数是如何被覆盖的。为 GetErrorMode、SetErrorMode 以及已识别的 debug-only 函数添加覆盖;当缺失的函数在受支持的构建中都有针对性测试时,即视为完成。issue 中已经提到了一个关联的 PR:gh-126029。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- operating-systems, testing-qa
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100