[issue6806] test_platform fails under Snow Leopard
Brett Cannon
report at bugs.python.org
Sun Aug 30 06:35:14 CEST 2009
New submission from Brett Cannon <brett at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6806>
_______________________________________
More information about the Python-bugs-list
mailing list