hardayal / hamcrest

Automatically exported from code.google.com/p/hamcrest
0 stars 0 forks source link

Hamcrest-python: testDescribeMismatch (in core/issame_test.py) fails #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When running hamcrest-python revision 479, with Python v2.5.1, Windows XP
SP3, I get the following error: 

FAIL: testDescribeMismatch (issame_test.IsSameTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"C:\Users\Luke\working-svn\hamcrest-python\hamcrest-python\hamcrest-unit-test\co
re\issame_test.py",
line 37, in testDescribeMismatch
    self.assert_(expected.match(str(description)))
AssertionError

After some debugging, it appears that the object location is 0x00A50470,
i.e. displaying in hexadecimal using capital letters.  (This issue seems
very similar to issue 102.)

Attached is a suggested patch.

Original issue reported on code.google.com by Luke.Sch...@gmail.com on 20 Feb 2010 at 9:47

Attachments:

GoogleCodeExporter commented 8 years ago
Committed fix in revision 570. Thank you for the patch!

Original comment by jon.m.r...@gmail.com on 21 Nov 2010 at 3:46