mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Merged revisions 81764 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81764 | michael.foord | 2010-06-05 21:59:00 +0100 (Sat, 05 Jun 2010) | 1 line Tests for issue 8302, skipped test in a setUpClass or a setUpModule are reported as skips rather than errors. ........
This commit is contained in:
parent
da562f65e9
commit
520ed0a150
3 changed files with 71 additions and 21 deletions
|
@ -641,6 +641,10 @@ class Test_TestCase(unittest.TestCase, TestEquality, TestHashing):
|
|||
message = self._truncateMessage('foo', 'bar')
|
||||
self.assertEqual(message, 'foobar')
|
||||
|
||||
self.maxDiff = 4
|
||||
message = self._truncateMessage('foo', 'bar')
|
||||
self.assertEqual(message, 'foobar')
|
||||
|
||||
def testAssertDictEqualTruncates(self):
|
||||
test = unittest.TestCase('assertEqual')
|
||||
def truncate(msg, diff):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue