mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
Issue 7911: unittest.TestCase.longMessage defaults to True for improved failure messages by default
This commit is contained in:
parent
1203720ffb
commit
5074df623b
4 changed files with 7 additions and 4 deletions
|
@ -245,7 +245,7 @@ class TestCase(object):
|
|||
# objects used in assert methods) will be printed on failure in *addition*
|
||||
# to any explicit message passed.
|
||||
|
||||
longMessage = False
|
||||
longMessage = True
|
||||
|
||||
# This attribute sets the maximum length of a diff in failure messages
|
||||
# by assert methods using difflib. It is looked up as an instance attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue