From 31296c09ed1f1114a325da4ecafc5a8d8f079284 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 10 Jun 2008 22:39:25 +0000 Subject: backport of 64096 --- Lib/test/test_platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_platform.py b/Lib/test/test_platform.py index a19556d..265c527 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') -- cgit v0.12