Skip to content

[3.14] gh-137821: Fix wrongly tested json.decoder.scanstring - #140782

Merged
corona10 merged 1 commit into
python:3.14from
corona10:gh-137821-3.14
Oct 30, 2025
Merged

[3.14] gh-137821: Fix wrongly tested json.decoder.scanstring#140782
corona10 merged 1 commit into
python:3.14from
corona10:gh-137821-3.14

Conversation

@corona10

@corona10corona10 commented Oct 30, 2025

Copy link
Copy Markdown
Member

@bedevere-appbedevere-appBot added the tests Tests in the Lib/test dir label Oct 30, 2025
@corona10
corona10 requested a review from hugovkOctober 30, 2025 10:11
@corona10corona10 self-assigned this Oct 30, 2025
@corona10

corona10 commented Oct 30, 2025

Copy link
Copy Markdown
MemberAuthor

@hugovk It was detected from #140780 (comment)

Python 3.11.6 (v3.11.6:8b6ee5ba3b, Oct 2 2023, 11:18:21) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import json
>>> json.decoder.scanstring(b"xxx", 10)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: first argument must be a string, not bytes

@corona10
corona10 merged commit 064e989 into python:3.14Oct 30, 2025
51 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@corona10