]> granicus.if.org Git - python/commit
Removed the new max_diff argument to assertSequenceEqual. All unittest.TestCase asser...
authorMichael Foord <fuzzyman@voidspace.org.uk>
Sat, 5 Jun 2010 12:10:52 +0000 (12:10 +0000)
committerMichael Foord <fuzzyman@voidspace.org.uk>
Sat, 5 Jun 2010 12:10:52 +0000 (12:10 +0000)
commite37d75fce22f6c216148102652db64744ac06a6e
tree888822f5faf9b15b9ee815818de2f23e61f53bd5
parent23f0d6b57bb9427df0ab2305c47f14b9c092e0fe
Removed the new max_diff argument to assertSequenceEqual. All unittest.TestCase assert methods that use difflib to produce failure messages now truncate overly long messages. New class attribute unittest.TestCase.maxDiff to configure this if necessary. Issue 8351.
Lib/unittest/case.py
Lib/unittest/test/test_case.py