[issue22756] testAssertEqualSingleLine gives poor errors

2014-10-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2f17d71ec53f by Robert Collins in branch 'default': Close #22756: Improve the test output for some assertEqual tests. https://hg.python.org/cpython/rev/2f17d71ec53f -- nosy: +python-dev resolution: -> fixed stage: -> resolved status: open

[issue22756] testAssertEqualSingleLine gives poor errors

2014-10-28 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +ezio.melotti, michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22756] testAssertEqualSingleLine gives poor errors

2014-10-28 Thread Robert Collins
Changes by Robert Collins : -- keywords: +patch Added file: http://bugs.python.org/file37057/issue22756.patch ___ Python tracker ___ _

[issue22756] testAssertEqualSingleLine gives poor errors

2014-10-28 Thread Robert Collins
Robert Collins added the comment: There's comments in the test above about 'not testing ourself with ourselves' - but we're testing the rendering of an error case, so its entirely legitimate to use the same method's success path to check equality. -- __

[issue22756] testAssertEqualSingleLine gives poor errors

2014-10-28 Thread Robert Collins
New submission from Robert Collins: found while backporting unittest fixes. The current test fails like so: == FAIL: testAssertEqualSingleLine (unittest2.test.test_case.Test_TestCase)