Skip to content

Commit 99e810b

Browse files
authored
Update case.py
Reverting back to single line doc string for assertMultiLineEqual.
1 parent 655ef5b commit 99e810b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Lib/unittest/case.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -1216,11 +1216,7 @@ def assertCountEqual(self, first, second, msg=None):
12161216
self.fail(msg)
12171217

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

0 commit comments

Comments
 (0)