From: Benjamin Peterson Date: Tue, 10 Jun 2008 22:39:25 +0000 (+0000) Subject: backport of 64096 X-Git-Tag: v2.6b1~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=31296c09ed1f1114a325da4ecafc5a8d8f079284;p=python backport of 64096 --- diff --git a/Lib/test/test_platform.py b/Lib/test/test_platform.py index a19556db19..265c5272df 100644 --- a/Lib/test/test_platform.py +++ b/Lib/test/test_platform.py @@ -72,7 +72,7 @@ class PlatformTest(unittest.TestCase): 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')