diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-10 22:39:25 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-10 22:39:25 +0000 |
commit | 31296c09ed1f1114a325da4ecafc5a8d8f079284 (patch) | |
tree | 6e3bb12282613bee0b5c7c1d7e2f084103b61532 | |
parent | 8e8de4afefdfaacdbe58a11c492f9de32daec6a0 (diff) | |
download | cpython-git-31296c09ed1f1114a325da4ecafc5a8d8f079284.tar.gz |
backport of 64096
-rw-r--r-- | Lib/test/test_platform.py | 2 |
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') |