[Python-checkins] r77784 - python/trunk/Lib/test/test_sys.py

eric.smith python-checkins at python.org
Wed Jan 27 03:06:25 CET 2010


Author: eric.smith
Date: Wed Jan 27 03:06:25 2010
New Revision: 77784

Log:
Added named (but not numbered) attributes to sys.getwindowsversion() test.

Modified:
   python/trunk/Lib/test/test_sys.py

Modified: python/trunk/Lib/test/test_sys.py
==============================================================================
--- python/trunk/Lib/test/test_sys.py	(original)
+++ python/trunk/Lib/test/test_sys.py	Wed Jan 27 03:06:25 2010
@@ -219,6 +219,10 @@
         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)


More information about the Python-checkins mailing list