python / python/cpython

What should the error message in the exception raised by assertTrue and assertFalse be?

Offen
#82,887 19 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

stdlib type-feature
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

BPO 38706
Nosy @terryjreedy, @mdickinson, @rbtcollins, @ezio-melotti, @stevendaprano, @bitdancer, @voidspace, @encukou, @serhiy-storchaka, @ammaraskar, @brandtbucher, @michael-karotsieris
PRs
  • python/cpython#17049
  • python/cpython#17073
  • 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-11-05.21:16:18.934>
    labels = ['type-feature', 'library', '3.9']
    title = 'What should the error message in the exception raised by assertTrue and assertFalse be?'
    updated_at = <Date 2019-12-06.11:51:47.142>
    user = 'https://github.com/michael-karotsieris'
    

    bugs.python.org fields:

    activity = <Date 2019-12-06.11:51:47.142>
    actor = 'steven.daprano'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-11-05.21:16:18.934>
    creator = 'mkarotsieris'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38706
    keywords = ['patch']
    message_count = 17.0
    messages = ['356065', '356067', '356081', '356082', '356083', '356103', '356104', '356105', '356114', '356120', '356124', '356126', '356179', '356206', '356208', '356211', '357911']
    nosy_count = 12.0
    nosy_names = ['terry.reedy', 'mark.dickinson', 'rbcollins', 'ezio.melotti', 'steven.daprano', 'r.david.murray', 'michael.foord', 'petr.viktorin', 'serhiy.storchaka', 'ammar2', 'brandtbucher', 'mkarotsieris']
    pr_nums = ['17049', '17073']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue38706'
    versions = ['Python 3.9']
    

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
    3. Forke das Repository und arbeite in einem Branch.
    4. Öffne einen Pull Request, der die Issue-Nummer nennt.

    Rechercherichtung

    Beginne mit der Durchsicht der Issue-Diskussion und der referenzierten Pull Requests python/cpython#17049 und #17073; in der Nutzlast ist keine Quelldatei und kein Test genannt. Als abgeschlossen gilt, wenn eine einvernehmliche Spezifikation für Fehlermeldungen von assertTrue und assertFalse erreicht und anschließend anhand der vorhandenen Review-Arbeit validiert wurde.

    Vom Indexierungsmodell aus dem Issue-Text verfasst.

    Bewertung

    Tech-Stack
    python
    Bereich
    testing-qa
    Issue-Typ
    Feature
    Schwierigkeit
    5/5
    Geschätzter Aufwand
    Über eine Woche
    Aktivitätsstatus
    Veraltet
    Klarheit
    Muss geklärt werden
    Anfängerfreundlichkeit
    20/100

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.