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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19463>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to