mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-38108: Makes mock objects inherit from Base (GH-16060)
This commit is contained in:
parent
f185a73249
commit
9a7d951950
4 changed files with 58 additions and 57 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue