summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorEric Smith <eric@trueblade.com>2010-01-27 02:14:26 (GMT)
committerEric Smith <eric@trueblade.com>2010-01-27 02:14:26 (GMT)
commita1f20b917a112a25d0fccbe6ea780ace0eee1340 (patch)
tree69d87652e2945f497f467dc011dc61c90d644a0d /Lib/test/test_sys.py
parent9a11a36603783011c4ffaed1b941059258739b6b (diff)
downloadcpython-a1f20b917a112a25d0fccbe6ea780ace0eee1340.zip
cpython-a1f20b917a112a25d0fccbe6ea780ace0eee1340.tar.gz
cpython-a1f20b917a112a25d0fccbe6ea780ace0eee1340.tar.bz2
Merged revisions 77784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77784 | eric.smith | 2010-01-26 21:06:25 -0500 (Tue, 26 Jan 2010) | 1 line Added named (but not numbered) attributes to sys.getwindowsversion() test. ........
Diffstat (limited to 'Lib/test/test_sys.py')
-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 18f2a33..e20c95f 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -241,6 +241,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)