New submission from Christian Heimes: 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>) ---------- components: Tests messages: 203632 nosy: christian.heimes priority: normal severity: normal status: open title: test_repr (test.test_functools.TestPartialC) failures versions: Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19681> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com