New submission from Brett Cannon <br...@python.org>:

test.platform fails under Snow Leopard because the golden input for the OS 
version, sw_vers, reports Snow Leopard as '10.6' while 
platform.mac_ver()[0] (which uses gestalt.gestalt()) return '10.6.0'.

Best solution might be to tweak the test to append a '0' when sw_vers 
returns a value that is short a micro version.

----------
components: Library (Lib)
keywords: easy
messages: 92079
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: test_platform fails under Snow Leopard
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

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

Reply via email to