Skip to content

Update the test generator: comments error handling and bool to string#881

Merged
glennj merged 2 commits into
exercism:mainfrom
IsaacG:pygen.update
Jun 30, 2026
Merged

Update the test generator: comments error handling and bool to string#881
glennj merged 2 commits into
exercism:mainfrom
IsaacG:pygen.update

Conversation

@IsaacG

@IsaacG IsaacG commented Jun 30, 2026

Copy link
Copy Markdown
Member

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

This PR touches files which potentially affect the outcome of the tests of an exercise. This will cause all students' solutions to affected exercises to be re-tested.

If this PR does not affect the result of the test (or, for example, adds an edge case that is not worth rerunning all tests for), please add the following to the merge-commit message which will stops student's tests from re-running. Please copy-paste to avoid typos.

[no important files changed]

For more information, refer to the documentation. If you are unsure whether to add the message or not, please ping @exercism/maintainers-admin in a comment. Thank you!

@glennj

glennj commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Does this PR include the "missing newline at EOF" fix from the awk track?

Comment thread bin/generate_tests
return

# Write the test file.
test_file.write_text(out + "\n")

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This writes the trailing newline.

@IsaacG

IsaacG commented Jun 30, 2026

Copy link
Copy Markdown
Member Author

Does this PR include the "missing newline at EOF" fix from the awk track?

Yup. Line 144.

@glennj glennj merged commit 23f6b1d into exercism:main Jun 30, 2026
3 checks passed
@IsaacG IsaacG deleted the pygen.update branch June 30, 2026 20:27
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