[issue7958] test_platform failure on OS X 10.6
Meador Inge
report at bugs.python.org
Wed Feb 24 07:30:20 CET 2010
Meador Inge <meadori at gmail.com> added the comment:
I am seeing the same problem with 32-bit on OS X 10.5:
euclid:trunk minge$ ./python.exe Lib/test/regrtest.py -uall test_platform
test_platform
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Users/minge/Work/Languages/python/trunk/Lib/platform.py", line 1017, in architecture
import struct
File "/Users/minge/Work/Languages/python/trunk/Lib/struct.py", line 1, in <module>
from _struct import *
ImportError: No module named _struct
test test_platform failed -- Traceback (most recent call last):
File "/Users/minge/Work/Languages/python/trunk/Lib/test/test_platform.py", line 24, in test_architecture_via_symlink
self.assertEqual(get(real), get(link))
AssertionError: Tuples differ: ("('32bit', '')\n", None) != ('', None)
First differing element 0:
('32bit', '')
- ("('32bit', '')\n", None)
+ ('', None)
1 test failed:
test_platform
The proposed patch seems reasonable. I verified that it fixed the problem for 10.5.
----------
nosy: +minge
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7958>
_______________________________________
More information about the Python-bugs-list
mailing list