Mocking a MagicMock with a function spec results in an AsyncMock
オープン
まだ誰も着手していません。
3.8 (EOL)
3.9 (EOL)
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 37251 |
|---|---|
| Nosy | @lisroach, @hroncok, @mariocj89, @miss-islington, @tirkarthi, @jeremycline, @msuozzo |
| PRs |
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 2019-06-12.14:00:18.556>
labels = ['3.8', 'type-bug', 'library', '3.9']
title = 'Mocking a MagicMock with a function spec results in an AsyncMock'
updated_at = <Date 2021-04-11.17:20:48.974>
user = 'https://github.com/jeremycline'
bugs.python.org fields:
activity = <Date 2021-04-11.17:20:48.974>
actor = 'matthew.suozzo'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-06-12.14:00:18.556>
creator = 'jcline'
dependencies = []
files = []
hgrepos = []
issue_num = 37251
keywords = ['patch']
message_count = 11.0
messages = ['345358', '345377', '345399', '345704', '346091', '346150', '346583', '351385', '351621', '351644', '390689']
nosy_count = 7.0
nosy_names = ['lisroach', 'hroncok', 'mariocj89', 'miss-islington', 'xtreak', 'jcline', 'matthew.suozzo']
pr_nums = ['14117', '15830', '15837', '25347']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue37251'
versions = ['Python 3.8', 'Python 3.9']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Library (Lib) コンポーネントから始め、リンクされた 4 件の pull request を確認して、MagicMock、関数仕様、AsyncMock の提案された扱いを理解します。完了とは、報告された動作を解決し、issue をオープンなパッチレビュー状態から移行することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- testing-qa
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100