mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 13:34:58 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
@@ -11,7 +11,7 @@ MAIN_EXAMPLES: str
|
||||
MODULE_EXAMPLES: str
|
||||
|
||||
class _TestRunner(Protocol):
|
||||
def run(self, __test: unittest.suite.TestSuite | unittest.case.TestCase) -> unittest.result.TestResult: ...
|
||||
def run(self, test: unittest.suite.TestSuite | unittest.case.TestCase, /) -> unittest.result.TestResult: ...
|
||||
|
||||
# not really documented
|
||||
class TestProgram:
|
||||
|
||||
Reference in New Issue
Block a user