[ python-Bugs-983585 ] test_repr() fails with id() values that appear negative

SourceForge.net noreply at sourceforge.net
Thu Jul 1 14:15:45 EDT 2004


Bugs item #983585, was opened at 2004-07-01 14:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=983585&group_id=5470

Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_repr() fails with id() values that appear negative

Initial Comment:
test_repr() fails when memory allocations are handed
out at high addresses.

test_repr
test test_repr failed -- Traceback (most recent call last):
  File
"/home/fdrake/projects/python/trunk/Lib/test/test_repr.py",
line 109, in test_instance
    eq(r(i3), ("<ClassWithFailingRepr instance at
%x>"%id(i3)))
AssertionError: '<ClassWithFailingRepr instance at
x42373cf4>' != '<ClassWithFailingRepr instance at
-42373cf4>'
 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=983585&group_id=5470



More information about the Python-bugs-list mailing list