Message203632
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>) |
|
Date |
User |
Action |
Args |
2013-11-21 14:34:36 | christian.heimes | set | recipients:
+ christian.heimes |
2013-11-21 14:34:36 | christian.heimes | set | messageid: <1385044476.32.0.977131973544.issue19681@psf.upfronthosting.co.za> |
2013-11-21 14:34:36 | christian.heimes | link | issue19681 messages |
2013-11-21 14:34:36 | christian.heimes | create | |
|