~ensoft-opensource/+junk/cpython

« back to all changes in this revision

Viewing changes to Lib/test/test_winreg.py

  • Committer: Martin Morrison
  • Date: 2013-05-05 04:00:22 UTC
  • Revision ID: mm@ensoft.co.uk-20130505040022-0c7bbg543vfcco0v
Latest sync

Show diffs side-by-side

added added

removed removed

Lines of Context:
457
457
            DeleteKeyEx(HKEY_CURRENT_USER, test_reflect_key_name,
458
458
                        KEY_WOW64_32KEY, 0)
459
459
 
 
460
    def test_exception_numbers(self):
 
461
        with self.assertRaises(FileNotFoundError) as ctx:
 
462
            QueryValue(HKEY_CLASSES_ROOT, 'some_value_that_does_not_exist')
460
463
 
461
464
def test_main():
462
465
    support.run_unittest(LocalWinregTests, RemoteWinregTests,