mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
backport of 64096
This commit is contained in:
parent
8e8de4afef
commit
31296c09ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue