[New-bugs-announce] [issue19463] assertGdbRepr depends on hash randomization / endianess

Christian Heimes report at bugs.python.org
Thu Oct 31 19:53:22 CET 2013


New submission from Christian Heimes:

I'm seeing some unrelated test failures on PPC Linux (big endian) in my PEP-456 branch.

http://buildbot.python.org/all/builders/PPC64%20PowerLinux%20custom/builds/17/steps/test/logs/stdio

======================================================================
FAIL: test_frozensets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of frozensets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/custom.edelsohn-powerlinux-ppc64/build/Lib/test/test_gdb.py", line 331, in test_frozensets
    self.assertGdbRepr(frozenset(['a', 'b']), "frozenset({'a', 'b'})")
  File "/home/shager/cpython-buildarea/custom.edelsohn-powerlinux-ppc64/build/Lib/test/test_gdb.py", line 231, in assertGdbRepr
    % (gdb_repr, exp_repr, gdb_output)))
AssertionError: "frozenset({'b', 'a'})" != "frozenset({'a', 'b'})"
- frozenset({'b', 'a'})
?             ^    ^
+ frozenset({'a', 'b'})
?             ^    ^


======================================================================
FAIL: test_sets (test.test_gdb.PrettyPrintTests)
Verify the pretty-printing of sets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/shager/cpython-buildarea/custom.edelsohn-powerlinux-ppc64/build/Lib/test/test_gdb.py", line 316, in test_sets
    self.assertGdbRepr(set(['a', 'b']), "{'a', 'b'}")
  File "/home/shager/cpython-buildarea/custom.edelsohn-powerlinux-ppc64/build/Lib/test/test_gdb.py", line 231, in assertGdbRepr
    % (gdb_repr, exp_repr, gdb_output)))
AssertionError: "{'b', 'a'}" != "{'a', 'b'}"
- {'b', 'a'}
+ {'a', 'b'}

----------
components: Tests
messages: 201841
nosy: christian.heimes
priority: low
severity: normal
stage: needs patch
status: open
title: assertGdbRepr depends on hash randomization / endianess
type: behavior
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19463>
_______________________________________


More information about the New-bugs-announce mailing list