Add __qualname__ for attributes of Mock instances
Offen
Dieses Issue hat noch niemand übernommen.
3.9 (EOL)
tests
type-feature
- Vorherrschende Sprache
- Python
- Sterne
- 77.2k
- Forks
- 36k
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 558
Beschreibung
| BPO | 32952 |
|---|---|
| Nosy | @voidspace, @s-kostyuk, @tirkarthi |
| Files |
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 2018-02-25.19:52:11.900>
labels = ['type-feature', 'tests', '3.9']
title = 'Add __qualname__ for attributes of Mock instances'
updated_at = <Date 2019-12-13.11:03:26.962>
user = 'https://github.com/s-kostyuk'
bugs.python.org fields:
activity = <Date 2019-12-13.11:03:26.962>
actor = 'xtreak'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Tests']
creation = <Date 2018-02-25.19:52:11.900>
creator = 's_kostyuk'
dependencies = []
files = ['47462']
hgrepos = []
issue_num = 32952
keywords = []
message_count = 2.0
messages = ['312849', '358327']
nosy_count = 3.0
nosy_names = ['michael.foord', 's_kostyuk', 'xtreak']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue32952'
versions = ['Python 3.9']
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, die beigefügte qualname_for_mocks.py-Illustration und das Modul unittest.mock zu prüfen, um das aktuelle und das gewünschte Mock-Verhalten zu verstehen. Finde die relevante Behandlung von Mock-Attributen und die vorhandenen Tests; erledigt ist die Aufgabe, wenn das Verhalten der Illustration entspricht und durch Tests abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- testing
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100