code: def test_asyncio_run_loop_factory(self):
      factory = mock.Mock()
      loop = factory.return_value = self.new_loop()
  
      async def main():
          self.assertEqual(asyncio.get_running_loop(), loop)
  
      asyncio.run(main(), loop_factory=factory)
      factory.assert_called_once_with()
  
imports: import _thread
  import asyncio
  import contextvars
  import re
  import signal
  import sys
  import threading
  import unittest
  from test.test_asyncio import utils
  from unittest import mock
  from unittest.mock import patch
label_desc: Use image node_id 11 for calling the RunTests obj's underlying member method code with example usage: obj.test_asyncio_run_loop_factory() without return types