Skip to content

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

Simon McVittie requested to merge wip/mypy into master

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).

Merge request reports