mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:05:53 +01:00
[PR #916] [MERGED] tests/semantic/README: test_buffer_formats_all covers 45 formats (README-BUFFER-FORMAT-COUNT) #954
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#954
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/916
Author: @TuroYT
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta
Base:
main← Head:docs/semantic-readme-format-count📝 Commits (1)
48f1c95tests/semantic/README: test_buffer_formats_all covers 45 formats (README-BUFFER-FORMAT-COUNT)📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
tests/semantic/README.md(+1 -1)📄 Description
Claimed in the coordination issue as: README-BUFFER-FORMAT-COUNT (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135519530)
What was wrong
tests/semantic/README.md:67saystest_buffer_formats_all.pyruns its loads and stores "of the 33 formats". TheADDEDtuple intests/semantic/test_buffer_formats_all.py(line 33) has 45 entries. The loops overADDED(lines 118, 139, 144, 151) and thetest_loads_*andtest_stores_*methods iterate all of it, so 45 is the number the test runs.Reproduction on
main(a28927849):sed -n 67p tests/semantic/README.md | grep -o "of the [0-9]* formats"printedof the 33 formatsastcount of theADDEDassignment printed[45]What changed
33becomes45in that sentence. Nothing else.Not changed: the same paragraph says two older-format stores are "pinned as expected failures".
test_buffer_formats_all.pyhas noexpectedFailure, and its docstring at line 228 says those stores now follow the hardware. That sentence needs a separate fix.Other open pull requests on this file: #762 edits line 176, #165 and #103 edit lines 2 to 10. None touches line 67. PR #880 edits the import block of the test file, not
ADDED.Tested
sed -n 67p tests/semantic/README.md | grep -o "of the [0-9]* formats"printsof the 45 formatsastcount ofADDEDprints[45]python3 -I tests/test_text_write_line_endings.py: Ran 3 tests, OKpython3 -I scripts/check_no_game_data.py tests/semantic/README.md: exit 0git diff --check: cleantests/test_docs_links.py(16 tests),tests/test_docs_encoding.py(1),tests/test_docs_table_rows.py(2),tests/test_docs_env_vars.py(4),tests/test_docs_design_rows.py(5): all OKNot tested
astcheck above.AI-assisted (Claude Code).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.