code: def test_get_flight_info(async_client):
      async def _test():
          descriptor = flight.FlightDescriptor.for_command(b"simple")
          info = await async_client.get_flight_info(descriptor)
          assert info == ExampleServer.simple_info
  
      asyncio.run(_test())
  
file_path: arrow/python/pyarrow/tests/test_flight_async.py
imports: import asyncio
  import pytest
  import pyarrow
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_flight_info(async_client) without return types