summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2010-01-27 02:06:25 (GMT)
committerEric Smith <eric@trueblade.com>2010-01-27 02:06:25 (GMT)
commit74c2577497dfdd63613bd705173dfac33325de27 (patch)
treeff7e6eb1520c188430cc9ff5bf3dd42db7dacfce /Lib
parent59529e1ef661fc2588f3436ec11909b238006116 (diff)
downloadcpython-74c2577497dfdd63613bd705173dfac33325de27.zip
cpython-74c2577497dfdd63613bd705173dfac33325de27.tar.gz
cpython-74c2577497dfdd63613bd705173dfac33325de27.tar.bz2
Added named (but not numbered) attributes to sys.getwindowsversion() test.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_sys.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index e05b0da..f58d900 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -219,6 +219,10 @@ class SysModuleTest(unittest.TestCase):
self.assertIsInstance(v.build, int)
self.assertIsInstance(v.platform, int)
self.assertIsInstance(v.service_pack, str)
+ self.assertIsInstance(v.service_pack_minor, int)
+ self.assertIsInstance(v.service_pack_major, int)
+ self.assertIsInstance(v.suite_mask, int)
+ self.assertIsInstance(v.product_type, int)
self.assertEqual(v[0], v.major)
self.assertEqual(v[1], v.minor)
self.assertEqual(v[2], v.build)