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
Update Lib/unittest/case.py
Adding period missing in doc string for assertMultiLineEqual.

Co-authored-by: Carl Meyer <carl@oddbird.net>
  • Loading branch information
mblahay and carljm committed May 4, 2023
commit 046dcb4f4e3acddcdcdf8b11449c5c27a023588c
5 changes: 3 additions & 2 deletions Lib/unittest/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,8 +1217,9 @@ def assertCountEqual(self, first, second, msg=None):

def assertMultiLineEqual(self, first, second, msg=None):
"""Assert that two multi-line strings are equal.
If the assertion fails, then provide an error message with a detailed
diff output

If the assertion fails, provide an error message with a detailed
diff output.
"""
self.assertIsInstance(first, str, "First argument is not a string")
self.assertIsInstance(second, str, "Second argument is not a string")
Expand Down