projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
283a7c9
)
Windows has no os.uname. Use platform.uname() instead.
author
Amaury Forgeot d'Arc
<amauryfa@gmail.com>
Tue, 10 Jun 2008 21:44:58 +0000
(21:44 +0000)
committer
Amaury Forgeot d'Arc
<amauryfa@gmail.com>
Tue, 10 Jun 2008 21:44:58 +0000
(21:44 +0000)
Lib/test/test_platform.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_platform.py
b/Lib/test/test_platform.py
index bc02d1e66cf62f4a145db28f9853b8c2493def89..8ef34ad6174af45e5a697bfc403032149edc534f 100644
(file)
--- a/
Lib/test/test_platform.py
+++ b/
Lib/test/test_platform.py
@@
-65,7
+65,7
@@
class PlatformTest(unittest.TestCase):
def test_mac_ver(self):
res = platform.mac_ver()
- if
os
.uname()[0] == 'Darwin':
+ if
platform
.uname()[0] == 'Darwin':
# We're on a MacOSX system, check that
# the right version information is returned
fd = os.popen('sw_vers', 'r')