Skip to content

Commit b7a103f

Browse files
committed
Add misc types for mock and unittest.mock
1 parent b3c86bd commit b7a103f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

stdlib/3/unittest/mock.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ from typing import Any, List, Optional, Text, Tuple, Type, TypeVar
55

66
_T = TypeVar("_T")
77

8+
__all__: List[str]
9+
__version__: str
10+
811
FILTER_DIR: Any
912

1013
class _slotted: ...

tests/stubtest_whitelists/py38.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,6 @@ typing.ValuesView
200200
unittest.TestCase.addCleanup
201201
unittest.case.TestCase.addCleanup
202202
unittest.doModuleCleanups
203-
unittest.mock.MagicProxy.__call__
204-
unittest.mock._MockIter.__iter__
205203
weakref.WeakValueDictionary.__init__
206204
weakref.WeakValueDictionary.update
207205
weakref.getweakrefcount

third_party/2and3/mock.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ from typing import Any, List, Optional, Text, Tuple, Type, TypeVar
55

66
_T = TypeVar("_T")
77

8+
__all__: List[str]
9+
__version__: str
10+
811
FILTER_DIR: Any
912

1013
class _slotted: ...

0 commit comments

Comments
 (0)