From 3b409276b77de29b82ad4022468bd2b9d312f49d Mon Sep 17 00:00:00 2001
From: Amaury Forgeot d'Arc <amauryfa@gmail.com>
Date: Tue, 10 Jun 2008 21:44:58 +0000
Subject: [PATCH] Windows has no os.uname. Use platform.uname() instead.

---
 Lib/test/test_platform.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Lib/test/test_platform.py b/Lib/test/test_platform.py
index bc02d1e66c..8ef34ad617 100644
--- 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')
-- 
2.40.0