New submission from Ned Deily:

== CPython 3.3.0b1 (default:efb30bdcfa1e, Aug 8 2012, 15:43:49) [GCC 4.0.1 
(Apple Inc. build 5493)]
==   Darwin-8.11.0-Power_Macintosh-powerpc-32bit big-endian
==   /private/tmp/test_python_13864
Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, 
dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, 
verbose=0, bytes_warning=0, quiet=0, hash_randomization=1)
[...]
======================================================================
FAIL: testChainingDescriptors (test.test_exceptions.ExceptionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/test/test_exceptions.py",
 line 432, in testChainingDescriptors
    self.assertTrue(e.__suppress_context__)
AssertionError: False is not true

----------------------------------------------------------------------

Other similar test failures include multiple test cases in test_ipaddress, 
test_raise, and test_traceback, for example:


======================================================================
FAIL: test_address_errors (test.test_ipaddress.NetworkTestCase_v6)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/ipaddress.py", 
line 1580, in _ip_int_from_string
    ip_int |= self._parse_hextet(parts[i])
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/ipaddress.py", 
line 1605, in _parse_hextet
    raise ValueError("Only hex digits permitted in %r" % hextet_str)
ValueError: Only hex digits permitted in 'axy'

During handling of the above exception, another exception occurred:

ipaddress.AddressValueError: Only hex digits permitted in 'axy' in '1234:axy::b'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/test/test_ipaddress.py",
 line 439, in test_address_errors
    assertBadAddress("1234:axy::b", "Only hex digits")
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/test/test_ipaddress.py",
 line 432, in assertBadAddress
    self.factory(addr)
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/contextlib.py",
 line 66, in __exit__
    self.gen.throw(type, value, traceback)
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/test/test_ipaddress.py",
 line 50, in assertCleanError
    self.assertTrue(exc.exception.__suppress_context__)
AssertionError: False is not true

The same universal build runs without error on an Intel Mac with the same os 
version.  The ppc failures are seen on both PPC OS X 10.5 and 10.4 systems.

----------
messages: 167734
nosy: benjamin.peterson, ned.deily, pitrou
priority: critical
severity: normal
stage: needs patch
status: open
title: exception __suppress_context__ test failures on OS X ppc systems
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15597>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to