Issue 10825: Minor updates to the test suite.

This commit is contained in:
Raymond Hettinger 2011-01-06 05:34:17 +00:00
parent 90a4b3162e
commit 7beae8a0d5
4 changed files with 10 additions and 10 deletions

View file

@ -341,8 +341,8 @@ class Win64WinregTests(BaseWinregTests):
with OpenKey(HKEY_LOCAL_MACHINE, "Software") as key:
# HKLM\Software is redirected but not reflected in all OSes
self.assertTrue(QueryReflectionKey(key))
self.assertEqual(None, EnableReflectionKey(key))
self.assertEqual(None, DisableReflectionKey(key))
self.assertIsNone(EnableReflectionKey(key))
self.assertIsNone(DisableReflectionKey(key))
self.assertTrue(QueryReflectionKey(key))
@unittest.skipUnless(HAS_REFLECTION, "OS doesn't support reflection")