Skip to content

Test empty settings.toml #8144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2023
Merged

Conversation

jepler
Copy link

@jepler jepler commented Jul 7, 2023

@tannewt wondered if this could be a cause of instability. Many boards in the wild are probably running with an empty settings.toml, since formatting the CIRCUITPY drive creates one

shared/filesystem.c:        make_empty_file(&vfs_fat->fatfs, "/settings.toml");

but it also wouldn't hurt to add a test for it in the core tests.

This also adds an expected-result file for the test basics/string_format_error, because the behavior of the test under python 3.11.2 (debian bookworm) differs from 3.9. CP follows the 3.9 behavior. This allows the testsuite to pass on the new stable debian.

jepler added 2 commits June 27, 2023 10:41
.. because the first test is actually accepted on python 3.10 and newer.
Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

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

Thank you!

@tannewt tannewt merged commit 95535a8 into adafruit:main Jul 7, 2023
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