Skip to content
Snippets Groups Projects

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

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading