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

Method test_wmi_query_repeated

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

Source from the content-addressed store, hash-verified

36 self.assertRegex(v, r"\d+\.\d+.+$", r[0])
37
38 def test_wmi_query_repeated(self):
39 # Repeated queries should not break
40 for _ in range(10):
41 self.test_wmi_query_os_version()
42
43 def test_wmi_query_error(self):
44 # Invalid queries fail with OSError

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected