Skip to content

gh-7: Cover JSON and JSON Lines list output - #444

Merged
zooba merged 1 commit into
python:mainfrom
JunaidAhamed-7777:test/list-json-output
Nov 19, 2026
Merged

zooba merged 1 commit into
python:mainfrom
JunaidAhamed-7777:test/list-json-output

Conversation

@JunaidAhamed-7777

Copy link
Copy Markdown
Contributor

Adds tests for the JSON and JSON Lines formats of py list. The tests check that JSON puts records under versions, JSON Lines emits one record per line in order, and both serialize Windows paths and handle empty results. No runtime code changes.

Validation: 7 focused tests passed on Linux, including 4 new cases. All 4 new cases failed when the JSON wrapper and line framing were deliberately broken in an isolated copy. git diff --check passed. The full Windows suite was not run.

@JunaidAhamed-7777
JunaidAhamed-7777 marked this pull request as ready for review November 19, 2026 02:49
@zooba
zooba merged commit 791e4d7 into python:main Nov 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants