This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_platform fails under Snow Leopard
Type: behavior Stage: needs patch
Components: Library (Lib) Versions: Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: brett.cannon, ronaldoussoren
Priority: normal Keywords: easy

Created on 2009-08-30 04:35 by brett.cannon, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg92079 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-08-30 04:34
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.
msg92221 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-09-03 21:16
Got a fix, about to start applying it.
msg92223 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2009-09-03 21:32
2.7: 74640
3.2: 74641
3.1: 74642
History
Date User Action Args
2022-04-11 14:56:52adminsetgithub: 51055
2009-09-03 21:32:13brett.cannonsetstatus: open -> closed
resolution: fixed
messages: + msg92223
2009-09-03 21:16:57brett.cannonsetmessages: + msg92221
2009-08-30 06:50:49ned.deilysetnosy: + ronaldoussoren
2009-08-30 04:35:03brett.cannoncreate