summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/test/testmock/testmagicmethods.py
diff options
context:
space:
mode:
authorLisa Roach <lisaroach14@gmail.com>2019-09-29 01:42:44 (GMT)
committerGitHub <noreply@github.com>2019-09-29 01:42:44 (GMT)
commit9a7d9519506ae807ca48ff02e2ea117ebac3450e (patch)
treeee6ec4e54e88f5bd4038a368084b4ba5524facc0 /Lib/unittest/test/testmock/testmagicmethods.py
parentf185a73249189bc3b75b4dc26e9ec2990a587b17 (diff)
downloadcpython-9a7d9519506ae807ca48ff02e2ea117ebac3450e.zip
cpython-9a7d9519506ae807ca48ff02e2ea117ebac3450e.tar.gz
cpython-9a7d9519506ae807ca48ff02e2ea117ebac3450e.tar.bz2
bpo-38108: Makes mock objects inherit from Base (GH-16060)
Diffstat (limited to 'Lib/unittest/test/testmock/testmagicmethods.py')
-rw-r--r--Lib/unittest/test/testmock/testmagicmethods.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/unittest/test/testmock/testmagicmethods.py b/Lib/unittest/test/testmock/testmagicmethods.py
index 57f85e9..76b3a56 100644
--- a/Lib/unittest/test/testmock/testmagicmethods.py
+++ b/Lib/unittest/test/testmock/testmagicmethods.py
@@ -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)