diff options
| author | Benjamin Peterson <benjamin@python.org> | 2008-06-10 22:39:25 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2008-06-10 22:39:25 (GMT) |
| commit | 31296c09ed1f1114a325da4ecafc5a8d8f079284 (patch) | |
| tree | 6e3bb12282613bee0b5c7c1d7e2f084103b61532 /Lib/test/test_platform.py | |
| parent | 8e8de4afefdfaacdbe58a11c492f9de32daec6a0 (diff) | |
| download | cpython-31296c09ed1f1114a325da4ecafc5a8d8f079284.zip cpython-31296c09ed1f1114a325da4ecafc5a8d8f079284.tar.gz cpython-31296c09ed1f1114a325da4ecafc5a8d8f079284.tar.bz2 | |
backport of 64096
Diffstat (limited to 'Lib/test/test_platform.py')
| -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 a19556d..265c527 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') |
