Skip to content
Snippets Groups Projects
Commit f9346dc1 authored by Simon McVittie's avatar Simon McVittie
Browse files

tests: Reassure mypy that an Optional[str] cannot be None


After we have checked `ldlp is not None`, mypy can safely assume that it
is indeed not None, but the same is not true for an attribute like
`self.ld_library_path_runtime`, which could in principle be computed
dynamically (even though in this case it isn't).

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent a246f537
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment