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 christian.heimes
Recipients christian.heimes
Date 2013-11-21.14:34:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385044476.32.0.977131973544.issue19681@psf.upfronthosting.co.za>
In-reply-to
Content
test_repr of test.test_functools.TestPartialC fails sometimes because the test scenario depends on the order of items in a Python dict. The order is not stable and may change. Before PEP 456 was committed the order of items was stable most of the time. Nowadays the random seed has an impact on the order.

http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/9609

======================================================================
FAIL: test_repr (test.test_functools.TestPartialC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_functools.py", line 174, in test_repr
    repr(f))
AssertionError: 'func[43 chars]D8>, b=<object object at 0x09D08B48>, a=<objec[20 chars]28>)' != 'func[43 chars]D8>, a=<object object at 0x09D08B28>, b=<objec[20 chars]48>)'
- functools.partial(<function capture at 0x0A2A72D8>, b=<object object at 0x09D08B48>, a=<object object at 0x09D08B28>)
+ functools.partial(<function capture at 0x0A2A72D8>, a=<object object at 0x09D08B28>, b=<object object at 0x09D08B48>)


======================================================================
FAIL: test_repr (test.test_functools.TestPartialCSubclass)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_functools.py", line 174, in test_repr
    repr(f))
AssertionError: 'Part[41 chars]D8>, b=<object object at 0x09D08DC8>, a=<objec[20 chars]A8>)' != 'Part[41 chars]D8>, a=<object object at 0x09D08BA8>, b=<objec[20 chars]C8>)'
- PartialSubclass(<function capture at 0x0A2A72D8>, b=<object object at 0x09D08DC8>, a=<object object at 0x09D08BA8>)
+ PartialSubclass(<function capture at 0x0A2A72D8>, a=<object object at 0x09D08BA8>, b=<object object at 0x09D08DC8>)
History
Date User Action Args
2013-11-21 14:34:36christian.heimessetrecipients: + christian.heimes
2013-11-21 14:34:36christian.heimessetmessageid: <1385044476.32.0.977131973544.issue19681@psf.upfronthosting.co.za>
2013-11-21 14:34:36christian.heimeslinkissue19681 messages
2013-11-21 14:34:36christian.heimescreate