Skip to content

Commit f05407e

Browse files
chaopepicnixz
andauthored
Update Lib/test/test_unittest/testmock/testthreadingmock.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent dc0d804 commit f05407e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_unittest/testmock/testthreadingmock.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ def test_function():
215215
for thread in threads:
216216
thread.join()
217217

218-
self.assertEqual(m.call_count, LOOPS * THREADS,
219-
f"Expected {LOOPS * THREADS}, got {m.call_count}")
218+
self.assertEqual(m.call_count, LOOPS * THREADS)
220219

221220

222221
if __name__ == "__main__":

0 commit comments

Comments
 (0)