Skip to content

Commit

Permalink
Update case.py
Browse files Browse the repository at this point in the history
Reverting back to single line doc string for assertMultiLineEqual.
  • Loading branch information
mblahay committed May 4, 2023
1 parent 1990b4d commit 914e920
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Lib/unittest/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,11 +1216,7 @@ def assertCountEqual(self, first, second, msg=None):
self.fail(msg)

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

Expand Down

0 comments on commit 914e920

Please sign in to comment.