MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_exception_numbers

Method test_exception_numbers

Lib/test/test_winreg.py:548–550  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

546 KEY_WOW64_32KEY, 0)
547
548 def test_exception_numbers(self):
549 with self.assertRaises(FileNotFoundError) as ctx:
550 QueryValue(HKEY_CLASSES_ROOT, 'some_value_that_does_not_exist')
551
552
553if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

QueryValueFunction · 0.85
assertRaisesMethod · 0.45

Tested by

no test coverage detected