def get_async_test_timeout():
 try:
  return float(os.environ.get('ASYNC_TEST_TIMEOUT'))
 except (ValueError, TypeError):
  return 5

def get_async_test_timeout ( ) : try : return float ( os . environ . get ( 'ASYNC_TEST_TIMEOUT' ) ) except ( ValueError , TypeError ) : return 5
get the global timeout setting for async tests .