[Python-checkins] r64097 - python/trunk/Lib/test/test_platform.py

benjamin.peterson python-checkins at python.org
Wed Jun 11 00:39:25 CEST 2008


Author: benjamin.peterson
Date: Wed Jun 11 00:39:25 2008
New Revision: 64097

Log:
backport of 64096


Modified:
   python/trunk/Lib/test/test_platform.py

Modified: python/trunk/Lib/test/test_platform.py
==============================================================================
--- python/trunk/Lib/test/test_platform.py	(original)
+++ python/trunk/Lib/test/test_platform.py	Wed Jun 11 00:39:25 2008
@@ -72,7 +72,7 @@
         else:
             have_toolbox_glue = True
 
-        if have_toolbox_glue and os.uname()[0] == 'Darwin':
+        if have_toolbox_glue and platform.uname()[0] == 'Darwin':
             # We're on a MacOSX system, check that
             # the right version information is returned
             fd = os.popen('sw_vers', 'r')


More information about the Python-checkins mailing list