code: def test_wmi_query_multiple_rows(self):
      # Multiple instances should have an extra null separator
      r = wmi_exec_query(
          "SELECT ProcessId FROM Win32_Process WHERE ProcessId < 1000"
      )
      self.assertFalse(r.startswith("\0"), r)
      self.assertFalse(r.endswith("\0"), r)
      it = iter(r.split("\0"))
      try:
          while True:
              self.assertRegex(next(it), r"ProcessId=\d+")
              self.assertEqual("", next(it))
      except StopIteration:
          pass
  
file_path: cpython/Lib/test/test_wmi.py
imports: import time
  import unittest
  from test.support import import_helper, requires_resource, LOOPBACK_TIMEOUT
label_desc: Use image node_id 7 for calling the WmiTests obj's underlying member method code with example usage: obj.test_wmi_query_multiple_rows() without return types