code: def test_IntervalPrinter():
      ip = IntervalPrinter()
      assert ip.doprint(x ** Rational(1, 3)) == "x**(mpi('1/3'))"
      assert ip.doprint(sqrt(x)) == "x**(mpi('1/2'))"
  
file_path: sympy/sympy/polys/numberfields/tests/test_utilities.py
imports: from sympy.abc import x
  from sympy.core.numbers import I, Rational
  from sympy.core.singleton import S
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.polys import Poly, cyclotomic_poly
  from sympy.polys.domains import FF, QQ
  from sympy.polys.matrices import DomainMatrix, DM
  from sympy.polys.matrices.exceptions import DMRankError
  from sympy.polys.numberfields.utilities import AlgIntPowers, coeff_search, extract_fundamental_discriminant, isolate, supplement_a_subspace
  from sympy.printing.lambdarepr import IntervalPrinter
  from sympy.testing.pytest import raises
label_desc: Use image node_id 7 for calling a global function with example usage: test_IntervalPrinter() without return types