[Python-checkins] r77786 - in python/branches/py3k: Lib/test/test_sys.py

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


Author: eric.smith
Date: Wed Jan 27 03:14:26 2010
New Revision: 77786

Log:
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.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Lib/test/test_sys.py

Modified: python/branches/py3k/Lib/test/test_sys.py
==============================================================================
--- python/branches/py3k/Lib/test/test_sys.py	(original)
+++ python/branches/py3k/Lib/test/test_sys.py	Wed Jan 27 03:14:26 2010
@@ -241,6 +241,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