Skip to content
This repository was archived by the owner on Oct 31, 2026. It is now read-only.

Kit tests: import kit_claims lazily - #248

Merged
bdbarnett merged 1 commit into
mainfrom
kit-native-lazy-claims
Oct 30, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
kit-native-lazy-claims

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

kit_claims reads source with ast, which only CPython has. Importing it at the top of tests/support/kit_plants.py made the native kit tests fail on MicroPython and CircuitPython. It's now imported in the CPython branch of load_plants, the only place it's used.

kit_claims parses source with ast, which MicroPython and CircuitPython
lack, so the module-level import broke the native kit tests.
@bdbarnett
bdbarnett merged commit 392f32e into main Oct 30, 2026
6 checks passed
@bdbarnett
bdbarnett deleted the kit-native-lazy-claims branch October 30, 2026 07:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant