code: def test_ModuleElement_div():
      T = Poly(cyclotomic_poly(5, x))
      A = PowerBasis(T)
      C = A.submodule_from_matrix(3 * DomainMatrix.eye(4, ZZ))
      e = A(to_col([0, 2, 0, 0]), denom=3)
      f = A(to_col([0, 0, 0, 7]), denom=5)
      g = C(to_col([1, 1, 1, 1]))
      assert e // f == 10 * A(3) // 21
      assert e // g == -2 * A(2) // 9
      assert 3 // g == -A(1)
  
imports: from sympy.abc import x, zeta
  from sympy.polys import Poly, cyclotomic_poly
  from sympy.polys.domains import FF, QQ, ZZ
  from sympy.polys.matrices import DomainMatrix, DM
  from sympy.polys.numberfields.exceptions import ClosureFailure, MissingUnityError, StructureError
  from sympy.polys.numberfields.modules import Module, ModuleElement, ModuleEndomorphism, PowerBasis, PowerBasisElement, find_min_poly, is_sq_maxrank_HNF, make_mod_elt, to_col
  from sympy.polys.numberfields.utilities import is_int
  from sympy.polys.polyerrors import UnificationFailed
  from sympy.testing.pytest import raises
label_desc: Use image node_id 45 for calling a global function with example usage: test_ModuleElement_div() without return types