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

Reply via email to