[New-bugs-announce] [issue7958] test_platform failure on OS X 10.6

Mark Dickinson report at bugs.python.org
Thu Feb 18 16:29:57 CET 2010

New submission from Mark Dickinson <dickinsm at gmail.com>:

With a 64-bit debug non-framework builds of the trunk and py3k, on OS X 10.6, I'm consistently getting the following failure in test_platform:

trunk dickinsm$ ./python.exe Lib/test/regrtest.py -uall test_platform
[18064 refs]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/dickinsm/python/svn/trunk/Lib/platform.py", line 1017, in architecture
    import struct
  File "/Users/dickinsm/python/svn/trunk/Lib/struct.py", line 1, in <module>
    from _struct import *
ImportError: No module named _struct
[17485 refs]
test test_platform failed -- Traceback (most recent call last):
  File "/Users/dickinsm/python/svn/trunk/Lib/test/test_platform.py", line 24, in test_architecture_via_symlink
    self.assertEqual(get(real), get(link))
AssertionError: Tuples differ: ("('64bit', '')\n", None) != ('', None)

First differing element 0:
('64bit', '')

- ("('64bit', '')\n", None)
+ ('', None)

1 test failed:
[36722 refs]

assignee: ronaldoussoren
components: Macintosh, Tests
messages: 99512
nosy: mark.dickinson, ronaldoussoren
severity: normal
status: open
title: test_platform failure on OS X 10.6
type: behavior
versions: Python 2.7, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list