Commit 6e79e64
Fix beartype crash on Windows by widening type hint to pytest.Item
The pytest_collection_modifyitems hook in vuforia_backends.py had
items typed as list[pytest.Function], but Sybil doctest items
(SybilItem) are also collected and don't inherit from Function.
The @beartype decorator enforced this at runtime, crashing the
Windows CI with a BeartypeCallHintParamViolation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c7bf96a commit 6e79e64
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
0 commit comments