Skip to content

typing: Correct type of TestCase.skipTest#585

Merged
jelmer merged 1 commit intotesting-cabal:masterfrom
stephenfin:typing
Mar 13, 2026
Merged

typing: Correct type of TestCase.skipTest#585
jelmer merged 1 commit intotesting-cabal:masterfrom
stephenfin:typing

Conversation

@stephenfin
Copy link
Contributor

This raises an exception so we will never return. Correcting this allows type checkers to use the check for type narrowing.

This raises an exception so we will never return. Correcting
this allows type checkers to use the check for type narrowing.

Signed-off-by: Stephen Finucane <stephen@that.guru>
@jelmer jelmer merged commit 2ce38cd into testing-cabal:master Mar 13, 2026
9 checks passed
@stephenfin stephenfin deleted the typing branch March 13, 2026 21:22
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