Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed whitespaces in testmock
  • Loading branch information
Idan Weiss committed Dec 6, 2020
commit 190c9ed8aa3a0f381b16932e2d72ef179e727c9b
4 changes: 2 additions & 2 deletions Lib/unittest/test/testmock/testmock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2171,8 +2171,8 @@ def __init__(self):
self.obj_with_bool_func = unittest.mock.MagicMock()

obj = Something()
with unittest.mock.patch.object(obj, 'obj_with_bool_func', autospec=True):
pass
with unittest.mock.patch.object(obj, 'obj_with_bool_func', autospec=True): pass

self.assertEqual(obj.obj_with_bool_func.__bool__.call_count, 0)


Expand Down