Skip to content

Conversation

@rchen152
Copy link
Collaborator

@rchen152 rchen152 commented Jan 9, 2020

This makes the pyi file match the implementation:
https://github.com/python/cpython/blob/249706c1fbce04125d81bd9993e6c010ae30f8e4/Lib/unittest/case.py#L1019.

I also removed a now-redundant run method from FunctionTestCase
because the mypy test complained about it having a different signature
from TestCase.run().

Context:
#3550 (comment).

This makes the pyi file match the implementation:
https://github.com/python/cpython/blob/249706c1fbce04125d81bd9993e6c010ae30f8e4/Lib/unittest/case.py#L1019.

I also removed a now-redundant `run` method from FunctionTestCase
because the mypy test complained about it having a different signature
from TestCase.run().

Context:
#3550 (comment).
@JelleZijlstra JelleZijlstra merged commit e0151e7 into master Jan 9, 2020
@JelleZijlstra JelleZijlstra deleted the unittest branch January 9, 2020 21:04
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.

3 participants