Commit 4470293
test(bootstrap): make cache-dir assertion version-agnostic (#48)
ensure_native_loaded's cache dir is keyed on the module's __version__,
not the version argument. The test hardcoded "3.2.1", so the 3.3.0
version bump broke it and blocked the publish-python-bootstrap job
(which runs the bootstrap unit tests before twine upload), which in
turn skipped github-release.
Reference _bootstrap.__version__ directly, matching the sibling
CacheDirTests, so the assertion can't go stale on future bumps.
Co-authored-by: Claude <claude@anthropic.com>1 parent d2ed389 commit 4470293
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
190 | 194 | | |
191 | 195 | | |
192 | 196 | | |
| |||
0 commit comments