Skip to content

typing: TestCase.run can return None - #636

Merged
jelmer merged 1 commit into
testing-cabal:masterfrom
stephenfin:typing
Sep 30, 2026
Merged

jelmer merged 1 commit into
testing-cabal:masterfrom
stephenfin:typing

Conversation

@stephenfin

Copy link
Copy Markdown
Contributor

Align the type of this with its superclass. Note that we need to maintain the type: ignore since the parent class is not generic.

Align the type of this with its superclass [1]. Note that we need to
maintain the `type: ignore` since the parent class is not generic.

[1] https://github.com/python/typeshed/blob/c981c922a/stdlib/unittest/case.pyi#L91

Signed-off-by: Stephen Finucane <stephen@that.guru>
@jelmer
jelmer merged commit 072e91a into testing-cabal:master Sep 30, 2026
9 checks passed
@stephenfin
stephenfin deleted the typing branch September 30, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants