def METHOD_NAME(self):
    from distutils.msvc9compiler import Reg
    self.assertRaises(KeyError, Reg.get_value, 'xxx', 'xxx')
    # looking for values that should exist on all
    # windows registeries versions.
    path = r'Control Panel\Desktop'
    v = Reg.get_value(path, u'dragfullwindows')
    self.assertTrue(v in (u'0', u'1', u'2'))
    import _winreg
    HKCU = _winreg.HKEY_CURRENT_USER
    keys = Reg.read_keys(HKCU, 'xxxx')
    self.assertEqual(keys, None)
    keys = Reg.read_keys(HKCU, r'Control Panel')
    self.assertTrue('Desktop' in keys)