We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c4f0c commit 190c9edCopy full SHA for 190c9ed
Lib/unittest/test/testmock/testmock.py
@@ -2171,8 +2171,8 @@ def __init__(self):
2171
self.obj_with_bool_func = unittest.mock.MagicMock()
2172
2173
obj = Something()
2174
- with unittest.mock.patch.object(obj, 'obj_with_bool_func', autospec=True):
2175
- pass
+ with unittest.mock.patch.object(obj, 'obj_with_bool_func', autospec=True): pass
+
2176
self.assertEqual(obj.obj_with_bool_func.__bool__.call_count, 0)
2177
2178
0 commit comments