commit | 31296c09ed1f1114a325da4ecafc5a8d8f079284 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jun 10 22:39:25 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jun 10 22:39:25 2008 +0000 |
tree | 6e3bb12282613bee0b5c7c1d7e2f084103b61532 | |
parent | 8e8de4afefdfaacdbe58a11c492f9de32daec6a0 [diff] |
backport of 64096
diff --git a/Lib/test/test_platform.py b/Lib/test/test_platform.py index a19556d..265c527 100644 --- a/Lib/test/test_platform.py +++ b/Lib/test/test_platform.py
@@ -72,7 +72,7 @@ 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')