Issue 6806: test_platform fails under Snow Leopard (original) (raw)

Issue6806

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.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/51055

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:52 admin set github: 51055
2009-09-03 21:32:13 brett.cannon set status: open -> closedresolution: fixedmessages: +
2009-09-03 21:16:57 brett.cannon set messages: +
2009-08-30 06:50:49 ned.deily set nosy: + ronaldoussoren
2009-08-30 04:35:03 brett.cannon create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements