master: update mypy 0.740 -> 0.761

(cherry picked from commit 16ff9f591e)
(cherry picked from commit 4848bbdf9a)
This commit is contained in:
Ran Benita
2019-12-02 18:01:08 +02:00
committed by Daniel Hahler
parent 90740007a8
commit 090e260517
10 changed files with 15 additions and 21 deletions

View File

@@ -479,7 +479,7 @@ class ExceptionInfo(Generic[_E]):
assert tup[1] is not None, "no current exception"
assert tup[2] is not None, "no current exception"
exc_info = (tup[0], tup[1], tup[2])
return cls.from_exc_info(exc_info, exprinfo)
return ExceptionInfo.from_exc_info(exc_info, exprinfo)
@classmethod
def for_later(cls) -> "ExceptionInfo[_E]":