]> granicus.if.org Git - python/commit
test_platform fails on OS X Snow Leopard because the UNIX command to get the
authorBrett Cannon <bcannon@gmail.com>
Thu, 3 Sep 2009 21:25:21 +0000 (21:25 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 3 Sep 2009 21:25:21 +0000 (21:25 +0000)
commite7e941e7f7a47be54198be79d2280ab3025e5ff1
tree6e08464d26f58b0ae9c681beb52436eab64a6e2b
parentffd0dc1e8b99633944d281e200d3789049ef2e7f
test_platform fails on OS X Snow Leopard because the UNIX command to get the
canonical version, sw_vers, leaves off trailing zeros in the version number
(e.g. 10.6 instead of 10.6.0). Test now compensates by tacking on extra zeros
for the test comparison.

Fixes issue #6806.
Lib/test/test_platform.py
Misc/NEWS