mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
#7855: merge with 3.3.
This commit is contained in:
commit
4e59af7abd
5 changed files with 51 additions and 1 deletions
|
|
@ -457,6 +457,9 @@ class Win64WinregTests(BaseWinregTests):
|
|||
DeleteKeyEx(HKEY_CURRENT_USER, test_reflect_key_name,
|
||||
KEY_WOW64_32KEY, 0)
|
||||
|
||||
def test_exception_numbers(self):
|
||||
with self.assertRaises(FileNotFoundError) as ctx:
|
||||
QueryValue(HKEY_CLASSES_ROOT, 'some_value_that_does_not_exist')
|
||||
|
||||
def test_main():
|
||||
support.run_unittest(LocalWinregTests, RemoteWinregTests,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue