Fixes for third-party mock package (#6685)

Removed a few unused private classes and methods. They can be re-added if a user reports them missing.
This commit is contained in:
Sebastian Rittau
2021-12-25 11:43:43 +02:00
committed by GitHub
parent b3a4b1f353
commit 15958a2628
3 changed files with 25 additions and 48 deletions
+9
View File
@@ -2,3 +2,12 @@ mock.NonCallableMock.__new__
mock.patch
mock.mock.NonCallableMock.__new__
mock.mock.patch
# Methods with a first argument that's not called "self"
mock.mock.AsyncMockMixin.assert_any_await
mock.mock.AsyncMockMixin.assert_awaited
mock.mock.AsyncMockMixin.assert_awaited_once
mock.mock.AsyncMockMixin.assert_awaited_once_with
mock.mock.AsyncMockMixin.assert_awaited_with
mock.mock.AsyncMockMixin.assert_has_awaits
mock.mock.AsyncMockMixin.assert_not_awaited