code: def test_PythonRational__pow__():
      assert QQ(1) ** 10 == QQ(1)
      assert QQ(2) ** 10 == QQ(1024)
  
      assert QQ(1) ** (-10) == QQ(1)
      assert QQ(2) ** (-10) == QQ(1, 1024)
  
file_path: sympy/sympy/polys/tests/test_pythonrational.py
imports: from sympy.polys.domains import PythonRational
  from sympy.testing.pytest import raises
label_desc: Use image node_id 12 for calling a global function with example usage: test_PythonRational__pow__() without return types