Skip to content

Commit 190c9ed

Browse files
author
Idan Weiss
committed
Fixed whitespaces in testmock
1 parent 71c4f0c commit 190c9ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/unittest/test/testmock/testmock.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2171,8 +2171,8 @@ def __init__(self):
21712171
self.obj_with_bool_func = unittest.mock.MagicMock()
21722172

21732173
obj = Something()
2174-
with unittest.mock.patch.object(obj, 'obj_with_bool_func', autospec=True):
2175-
pass
2174+
with unittest.mock.patch.object(obj, 'obj_with_bool_func', autospec=True): pass
2175+
21762176
self.assertEqual(obj.obj_with_bool_func.__bool__.call_count, 0)
21772177

21782178

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy