Bump mock to 5.2.* (#13581)

This commit is contained in:
sobolevn
2025-03-05 10:57:35 +03:00
committed by GitHub
parent 58a4c08ab0
commit 8a21b854fa
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
version = "5.1.*"
version = "5.2.*"
upstream_repository = "https://github.com/testing-cabal/mock"
+6 -1
View File
@@ -1,2 +1,7 @@
from asyncio import iscoroutinefunction as iscoroutinefunction
import sys
from unittest import IsolatedAsyncioTestCase as IsolatedAsyncioTestCase
if sys.version_info >= (3, 10):
from inspect import iscoroutinefunction as iscoroutinefunction
else:
from asyncio import iscoroutinefunction as iscoroutinefunction
+1 -1
View File
@@ -117,7 +117,7 @@ class NonCallableMock(Base, Any):
**kwargs: Any,
) -> None: ...
def __getattr__(self, name: str) -> Any: ...
def _calls_repr(self, prefix: str = "Calls") -> str: ...
def _calls_repr(self) -> str: ...
def assert_called_with(_mock_self, *args: Any, **kwargs: Any) -> None: ...
def assert_not_called(_mock_self) -> None: ...
def assert_called_once_with(_mock_self, *args: Any, **kwargs: Any) -> None: ...