Message217970
While working on a fix for issue 1234674, I found that the first test method in Lib/test/test_filecmp.py (FileCompareTestCase.test_matching) has switched up messages in its AssertEquals calls. The first two asserts have the message that should belong to the second two, and visa versa.
I've prepared a very simple patch that switches around the AssertEquals arguments so that the messages match what is being tested. The behavior checked by the asserts remains exactly the same, only the message printed if an assert fails will be different.
The test still passes. If you want to see the wrong message get displayed, the patch I uploaded for issue 1234674 may cause the test edited here to fail intermittently (it depend on whether two files are created in a shorter time than your filesystems's mtime resolution in the setup code). The failures are not affected by this patch, but with it you'll get the right message rather than a wrong one. |
|
Date |
User |
Action |
Args |
2014-05-06 07:43:14 | Steven.Barker | set | recipients:
+ Steven.Barker |
2014-05-06 07:43:14 | Steven.Barker | set | messageid: <1399362194.49.0.4974401647.issue21445@psf.upfronthosting.co.za> |
2014-05-06 07:43:14 | Steven.Barker | link | issue21445 messages |
2014-05-06 07:43:13 | Steven.Barker | create | |
|