python / python/cpython

pprint tests do not test pprint.pprint()

Offen
#89,722 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

tests type-bug
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
558

Beschreibung

BPO 45559
Nosy @ericvsmith, @hp310780

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 2021-10-21.20:23:04.931>
labels = ['type-bug', 'library', '3.9', '3.10', '3.11']
title = 'pprint tests do not test pprint.pprint()'
updated_at = <Date 2022-02-18.15:18:17.383>
user = 'https://github.com/ericvsmith'

bugs.python.org fields:

activity = <Date 2022-02-18.15:18:17.383>
actor = 'eric.smith'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-10-21.20:23:04.931>
creator = 'eric.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 45559
keywords = []
message_count = 3.0
messages = ['404647', '413484', '413486']
nosy_count = 2.0
nosy_names = ['eric.smith', 'hp310780']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45559'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

Linked PRs
  • gh-95281

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 damit, das pprint-Testmodul zu finden und zu überprüfen, wie die vorhandenen Tests die pprint-Funktionalität aufrufen. Füge Abdeckung für den Einstiegspunkt pprint.pprint() hinzu, führe anschließend die relevanten pprint-Tests aus und bestätige, dass sie erfolgreich sind.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
testing
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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