summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_platform.py2
1 files changed, 1 insertions, 1 deletions
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')