From 439ea4bd8b5b6110eec532b32321749c5193ac2b Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Thu, 6 Aug 2020 19:51:52 -0700 Subject: [PATCH] Added missing import for case.pyi (#4403) Co-authored-by: Eric Traut --- stdlib/3/unittest/case.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/3/unittest/case.pyi b/stdlib/3/unittest/case.pyi index c1617be51..341b22b64 100644 --- a/stdlib/3/unittest/case.pyi +++ b/stdlib/3/unittest/case.pyi @@ -63,7 +63,7 @@ class TestCase: def skipTest(self, reason: Any) -> None: ... def subTest(self, msg: Any = ..., **params: Any) -> ContextManager[None]: ... def debug(self) -> None: ... - def _addSkip(self, result: unittest.result.TestResult, test_case: unittest.case.TestCase, reason: str) -> None: ... + def _addSkip(self, result: unittest.result.TestResult, test_case: TestCase, reason: str) -> None: ... def assertEqual(self, first: Any, second: Any, msg: Any = ...) -> None: ... def assertNotEqual(self, first: Any, second: Any, msg: Any = ...) -> None: ... def assertTrue(self, expr: Any, msg: Any = ...) -> None: ... @@ -273,7 +273,7 @@ class _AssertLogsContext: LOGGING_FORMAT: str records: List[logging.LogRecord] output: List[str] - def __init__(self, test_case: unittest.case.TestCase, logger_name: str, level: int) -> None: ... + def __init__(self, test_case: TestCase, logger_name: str, level: int) -> None: ... def __enter__(self) -> _AssertLogsContext: ... def __exit__( self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[TracebackType]