code: def test_named_arguments():
      a = np.array([[1.0, 2], [3, 4], [5, 6]])
      b = np.ones((2, 1))
  
      assert np.all(
          m.matrix_multiply(a, b) == np.array([[3.0], [7], [11]])
      )
      assert np.all(
          m.matrix_multiply(A=a, B=b) == np.array([[3.0], [7], [11]])
      )
      assert np.all(
          m.matrix_multiply(B=b, A=a) == np.array([[3.0], [7], [11]])
      )
  
      with pytest.raises(ValueError) as excinfo:
          m.matrix_multiply(b, a)
      assert str(excinfo.value) == "Nonconformable matrices!"
  
      with pytest.raises(ValueError) as excinfo:
          m.matrix_multiply(A=b, B=a)
      assert str(excinfo.value) == "Nonconformable matrices!"
  
      with pytest.raises(ValueError) as excinfo:
          m.matrix_multiply(B=a, A=b)
      assert str(excinfo.value) == "Nonconformable matrices!"
  
imports: import pytest
  from pybind11_tests import ConstructorStats
label_desc: Use image node_id 26 for calling a global function with example usage: test_named_arguments() without return types