assertEqual doesn't display newline differences quite well
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- testing-qa
Research direction
Start by reviewing the linked issue-12038.patch and the current assertEqual behavior in CPython. Reproduce a comparison between strings containing different newlines, then determine the expected human-readable output; the issue is done when newline differences are displayed clearly without changing other assertion behavior.
Written by the indexing model from the issue text.
Description
| BPO | 12038 |
|---|---|
| Nosy | @terryjreedy, @gpshead, @pitrou, @ezio-melotti, @voidspace, @iritkatriel |
| 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 = 'https://github.com/voidspace'
closed_at = None
created_at = <Date 2011-05-09.16:36:50.398>
labels = ['type-bug', 'library', '3.11']
title = "assertEqual doesn't display newline differences quite well"
updated_at = <Date 2021-12-09.21:45:16.085>
user = 'https://github.com/pitrou'
bugs.python.org fields:
activity = <Date 2021-12-09.21:45:16.085>
actor = 'iritkatriel'
assignee = 'michael.foord'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2011-05-09.16:36:50.398>
creator = 'pitrou'
dependencies = []
files = ['22486']
hgrepos = []
issue_num = 12038
keywords = ['patch']
message_count = 7.0
messages = ['135608', '135657', '135953', '136007', '136079', '139190', '408160']
nosy_count = 7.0
nosy_names = ['terry.reedy', 'gregory.p.smith', 'pitrou', 'ezio.melotti', 'michael.foord', 'mouad', 'iritkatriel']
pr_nums = []
priority = 'low'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue12038'
versions = ['Python 3.11']
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python/cpython
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
build type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
stdlib topic-email type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Similar issues
-
🐛 Bug 🔔 Pending processing
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
jumpserver/jumpserver#17584 ·
-
link-check link-check:sphinx-theme
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
modelscope/DiffSynth-Studio#1702 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenHands/extensions#626 · 1 comment ·