mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Issue 10825: Minor updates to the test suite.
This commit is contained in:
parent
90a4b3162e
commit
7beae8a0d5
4 changed files with 10 additions and 10 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue