mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +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,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