MCPcopy Index your code
hub / github.com/python/cpython / test_wmi_query_repeated_error

Method test_wmi_query_repeated_error

Lib/test/test_wmi.py:53–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 self.fail("Expected OSError")
52
53 def test_wmi_query_repeated_error(self):
54 for _ in range(10):
55 self.test_wmi_query_error()
56
57 def test_wmi_query_not_select(self):
58 # Queries other than SELECT are blocked to avoid potential exploits

Callers

nothing calls this directly

Calls 1

test_wmi_query_errorMethod · 0.95

Tested by

no test coverage detected