From: Eric Smith Date: Wed, 27 Jan 2010 02:06:25 +0000 (+0000) Subject: Added named (but not numbered) attributes to sys.getwindowsversion() test. X-Git-Tag: v2.7a3~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74c2577497dfdd63613bd705173dfac33325de27;p=python Added named (but not numbered) attributes to sys.getwindowsversion() test. --- diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index e05b0daf30..f58d90063f 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)