bpo-38108: Makes mock objects inherit from Base (GH-16060)

This commit is contained in:
Lisa Roach 2019-09-28 18:42:44 -07:00 committed by GitHub
parent f185a73249
commit 9a7d951950
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 57 deletions

View file

@ -271,9 +271,6 @@ class TestMockingMagicMethods(unittest.TestCase):
self.assertEqual(mock == mock, True)
self.assertEqual(mock != mock, False)
# This should be fixed with issue38163
@unittest.expectedFailure
def test_asyncmock_defaults(self):
mock = AsyncMock()
self.assertEqual(int(mock), 1)