backport of 64096

This commit is contained in:
Benjamin Peterson 2008-06-10 22:39:25 +00:00
parent 8e8de4afef
commit 31296c09ed
1 changed files with 1 additions and 1 deletions

View File

@ -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')