Commit d1027d0
committed
test_uvprovider: narrow loaded_abspath to non-None before .parent/.stem access
Fixes pyright/ty reportOptionalMemberAccess / unresolved-attribute
that my previous patch introduced — the reloaded.loaded_abspath
type is Path | None so accessing .parent/.stem without
an explicit is not None assert flags as potentially unbound.1 parent 0355ab7 commit d1027d0
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
| 584 | + | |
584 | 585 | | |
585 | 586 | | |
586 | 587 | | |
| |||
0 commit comments