We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unitest.mock.Any
Any
1 parent 9d794b5 commit ca5abf0Copy full SHA for ca5abf0
mypy/typeshed/stdlib/unittest/mock.pyi
@@ -508,7 +508,8 @@ class MagicProxy(Base):
508
def create_mock(self) -> Any: ...
509
def __get__(self, obj: Any, _type: Any | None = None) -> Any: ...
510
511
-class _ANY:
+# See https://github.com/python/typeshed/issues/14701
512
+class _ANY(Any):
513
def __eq__(self, other: object) -> Literal[True]: ...
514
def __ne__(self, other: object) -> Literal[False]: ...
515
__hash__: ClassVar[None] # type: ignore[assignment]
0 commit comments