summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-09-03 21:25:21 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-09-03 21:25:21 (GMT)
commite7e941e7f7a47be54198be79d2280ab3025e5ff1 (patch)
tree6e08464d26f58b0ae9c681beb52436eab64a6e2b /Misc
parentffd0dc1e8b99633944d281e200d3789049ef2e7f (diff)
downloadcpython-e7e941e7f7a47be54198be79d2280ab3025e5ff1.zip
cpython-e7e941e7f7a47be54198be79d2280ab3025e5ff1.tar.gz
cpython-e7e941e7f7a47be54198be79d2280ab3025e5ff1.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index dfb2e22..f98706c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1328,6 +1328,9 @@ Extension Modules
Tests
-----
+- Issue #6806: test_platform failed under OS X 10.6.0 because ``sw_ver`` leaves
+ off the trailing 0 in the version number.
+
- Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
Lib/lib-tk/test/test_tkinter/test_loadtk. With this, these tests demonstrate
the same behaviour as test_ttkguionly (and now also test_tk) which is to