code: def test_DDM_convert_to():
      ddm = DDM([[ZZ(1), ZZ(2)]], (1, 2), ZZ)
      assert ddm.convert_to(ZZ) == ddm
      ddmq = ddm.convert_to(QQ)
      assert ddmq.domain == QQ
  
imports: from sympy.testing.pytest import raises
  from sympy.external.gmpy import GROUND_TYPES
  from sympy.polys import ZZ, QQ
  from sympy.polys.matrices.ddm import DDM
  from sympy.polys.matrices.exceptions import DMShapeError, DMNonInvertibleMatrixError, DMDomainError, DMBadInputError
label_desc: Use image node_id 5 for calling a global function with example usage: test_DDM_convert_to() without return types