Update unittest.mock to 3.12 (#10650)

And harmonise some annotations between the stdlib `unittest.mock` module and the third-party `mock` backport package.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Nikita Sobolev
2023-09-02 17:03:39 +03:00
committed by GitHub
parent 454438e4db
commit f0ba5ba2a2
3 changed files with 21 additions and 4 deletions

View File

@@ -32,7 +32,6 @@ typing.override
typing_extensions.Protocol
typing_extensions.SupportsAbs.__type_params__
typing_extensions.SupportsRound.__type_params__
unittest.mock.NonCallableMock.__new__
urllib.request.AbstractHTTPHandler.__init__
urllib.request.HTTPSHandler.__init__
zipfile.Path.glob