Commit 31296c09 authored by Benjamin Peterson's avatar Benjamin Peterson

backport of 64096

parent 8e8de4af
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment