python / python/cpython

Adding an assertClose() method to unittest.TestCase

オープン
#71,385 コメント 26 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

stdlib type-feature
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 27198
Nosy @rhettinger, @gpshead, @mdickinson, @rbtcollins, @ezio-melotti, @bitdancer, @voidspace, @berkerpeksag, @vedgar, @PythonCHB, @iritkatriel
Files
  • assertClose.patch: patch against recent default branch
  • assertClose.patch: updated with equation in the docs
  • 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 2016-06-03.18:48:32.670>
    labels = ['type-feature', 'library', '3.11']
    title = 'Adding an assertClose() method to unittest.TestCase'
    updated_at = <Date 2022-03-21.22:57:05.453>
    user = 'https://github.com/PythonCHB'
    

    bugs.python.org fields:

    activity = <Date 2022-03-21.22:57:05.453>
    actor = 'ChrisBarker'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2016-06-03.18:48:32.670>
    creator = 'ChrisBarker'
    dependencies = []
    files = ['43157', '43165']
    hgrepos = []
    issue_num = 27198
    keywords = ['patch']
    message_count = 23.0
    messages = ['267133', '267139', '267150', '267153', '267160', '267168', '267169', '267172', '267176', '267178', '267187', '267215', '267224', '267445', '268878', '268881', '269034', '269036', '269192', '415576', '415586', '415593', '415720']
    nosy_count = 12.0
    nosy_names = ['rhettinger', 'gregory.p.smith', 'mark.dickinson', 'rbcollins', 'ezio.melotti', 'r.david.murray', 'michael.foord', 'berker.peksag', 'Pam.McANulty', 'veky', 'ChrisBarker', 'iritkatriel']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue27198'
    versions = ['Python 3.11']
    

    Linked PRs
    • gh-96881

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    調査の方向性

    まず、添付された2つの assertClose.patch ファイルと、それらが対象としている既存の unittest.TestCase アサーションを確認してください。作業が残っているかどうかを判断する前に、議論とリンクされた PR gh-96881 を読んでください。完了とするには、assertClose() API、実装、ドキュメント、テストについて合意されている必要があります。

    索引モデルが issue の本文から書いたものです。

    評価

    技術スタック
    python
    領域
    testing
    issue の種類
    機能追加
    難易度
    4/5
    見積もり時間
    3〜5日
    活発さ
    停滞
    明瞭さ
    説明が足りない
    初心者へのやさしさ
    25/100

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。