unittest overrides more serious warnings filter added before unittest.main()
オープン
まだ誰も着手していません。
3.10
3.8 (EOL)
3.9 (EOL)
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 42186 |
|---|---|
| Nosy | @terryjreedy, @ncoghlan, @tirkarthi |
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 2020-10-28.20:42:28.565>
labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
title = 'unittest overrides more serious warnings filter added before unittest.main()'
updated_at = <Date 2020-10-31.21:14:17.225>
user = 'https://bugs.python.org/yileinotused'
bugs.python.org fields:
activity = <Date 2020-10-31.21:14:17.225>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-10-28.20:42:28.565>
creator = 'yilei_not_used'
dependencies = []
files = []
hgrepos = []
issue_num = 42186
keywords = []
message_count = 4.0
messages = ['379843', '379850', '380016', '380039']
nosy_count = 4.0
nosy_names = ['terry.reedy', 'ncoghlan', 'xtreak', 'yilei_not_used']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue42186'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
unittest.main() から始め、実行前に追加されたフィルターとの関係で、どのように warnings フィルターを設定するかを追跡してください。issue にはソースファイルもテストも記載されていないため、まず報告された上書きを再現し、関連する unittest ライブラリコードを特定してください。より重大な既存の warnings フィルターが保持され、その動作に対するリグレッションカバレッジがあれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100