code: def skip_if_blas_ldflags_empty(*functions_detected):
      if pytensor.config.blas__ldflags == "":
          functions_string = ""
          if functions_detected:
              functions_string = (
                  " (at least " + (", ".join(functions_detected)) + ")"
              )
          pytest.skip(
              "This test is useful only when PyTensor can access to BLAS functions"
              + functions_string
              + " other than [sd]gemm_."
          )
  
imports: from warnings import warn
  import numpy
  import pytest
  import pytensor
  import pytensor.tensor
  from pytensor.misc.safe_asarray import _asarray
  from pytensor.tensor.basic import AllocEmpty
  from pytensor.tensor.blas import Ger
  from pytensor.tensor.blas_c import CGemv, CGer, check_force_gemv_init
  from pytensor.tensor.blas_scipy import ScipyGer
  from pytensor.tensor.type import dmatrix, dvector, matrix, scalar, tensor, vector
  from tests import unittest_tools
  from tests.tensor.test_blas import BaseGemv, TestBlasStrides
  from tests.unittest_tools import OptimizationTestMixin
label_desc: Use image node_id 1 for calling a global function with example usage: skip_if_blas_ldflags_empty() without return types