Content-Length: 268492 | pFad | http://github.com/python/cpython/commit/914e920f03dd29e97d4e2d8f648e1dff51624d53

21 Update case.py · python/cpython@914e920 · GitHub
Skip to content

Commit 914e920

Browse files
committed
Update case.py
Reverting back to single line doc string for assertMultiLineEqual.
1 parent 1990b4d commit 914e920

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Lib/unittest/case.py

Lines changed: 1 addition & 5 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/commit/914e920f03dd29e97d4e2d8f648e1dff51624d53

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy