mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-12 16:10:12 +08:00
Modernize mock stubs (#5949)
* Import from `collections.abc`, instead of `typing`. * Replace `Text` with `str`. * Remove version checks. * Convert mock into a package
This commit is contained in:
1 parent
28f2953b49
commit
db0f37ccdf
3 files changed
+22
-36
No files matched your search
@@ -1,7 +1,4 @@
|
||||
mock.NonCallableMock.__new__
|
||||
mock.NonCallableMock.assert_called
|
||||
mock.NonCallableMock.assert_called_once
|
||||
mock.NonCallableMock.assert_called_once_with
|
||||
mock.NonCallableMock.assert_called_with
|
||||
mock.NonCallableMock.assert_not_called
|
||||
mock.patch
|
||||
mock.mock.NonCallableMock.__new__
|
||||
mock.mock.patch
|
||||
Reference in new issue
Block a user