[New-bugs-announce] [issue12549] test_platform test_mac_ver fails on Darwin x86_64

Davide Rizzo report at bugs.python.org
Wed Jul 13 11:49:23 CEST 2011


New submission from Davide Rizzo <sorcio at gmail.com>:

test test_platform failed -- Traceback (most recent call last):
  File "/Users/davide/cpython/Lib/test/test_platform.py", line 194, in test_mac_ver
    self.assertEqual(res[2], 'i386')
AssertionError: 'x86_64' != 'i386'
- x86_64
+ i386


uname reports machine as "x86_64", but the test expects "i386".

Related: the Gestalt call makes no difference between i386 and x86_64 and may only return "i386" as the machine.

----------
assignee: ronaldoussoren
components: Macintosh
messages: 140241
nosy: davide.rizzo, ronaldoussoren
priority: normal
severity: normal
status: open
title: test_platform test_mac_ver fails on Darwin x86_64
versions: Python 2.7, Python 3.2, Python 3.3

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


More information about the New-bugs-announce mailing list