Skip to content

Commit

Permalink
Add misc types for mock and unittest.mock
Browse files Browse the repository at this point in the history
  • Loading branch information
mxr committed Apr 13, 2020
1 parent b3c86bd commit b7a103f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions stdlib/3/unittest/mock.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ from typing import Any, List, Optional, Text, Tuple, Type, TypeVar

_T = TypeVar("_T")

__all__: List[str]
__version__: str

FILTER_DIR: Any

class _slotted: ...
Expand Down
2 changes: 0 additions & 2 deletions tests/stubtest_whitelists/py38.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ typing.ValuesView
unittest.TestCase.addCleanup
unittest.case.TestCase.addCleanup
unittest.doModuleCleanups
unittest.mock.MagicProxy.__call__
unittest.mock._MockIter.__iter__
weakref.WeakValueDictionary.__init__
weakref.WeakValueDictionary.update
weakref.getweakrefcount
Expand Down
3 changes: 3 additions & 0 deletions third_party/2and3/mock.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ from typing import Any, List, Optional, Text, Tuple, Type, TypeVar

_T = TypeVar("_T")

__all__: List[str]
__version__: str

FILTER_DIR: Any

class _slotted: ...
Expand Down

0 comments on commit b7a103f

Please sign in to comment.