This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rbcollins
Recipients rbcollins
Date 2014-10-29.02:24:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414549497.69.0.925079174873.issue22756@psf.upfronthosting.co.za>
In-reply-to
Content
found while backporting unittest fixes.

The current test fails like so:
======================================================================
FAIL: testAssertEqualSingleLine (unittest2.test.test_case.Test_TestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/robertc/work/unittest2.hg/unittest2/test/test_case.py", line 1014, in testAssertEqualSingleLine
    self.assertEqual(sample_text, revised_sample_text)
AssertionError: 'laden swallows fly slowly' != 'unladen swallows fly quickly'
- laden swallows fly slowly?                    ^^^^
+ unladen swallows fly quickly? ++                   ^^^^^


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/robertc/work/unittest2.hg/unittest2/test/test_case.py", line 1017, in testAssertEqualSingleLine
    self.assertTrue(sample_text_error == error)
AssertionError: False is not true


-> it shouldn't be using assertTrue.
History
Date User Action Args
2014-10-29 02:24:57rbcollinssetrecipients: + rbcollins
2014-10-29 02:24:57rbcollinssetmessageid: <1414549497.69.0.925079174873.issue22756@psf.upfronthosting.co.za>
2014-10-29 02:24:57rbcollinslinkissue22756 messages
2014-10-29 02:24:56rbcollinscreate