code: def test_symmetry():
      X = MatrixSymbol("x", 10, 10)
      Y = X[:5, 5:]
      with assuming(Q.symmetric(X)):
          assert Y.T == X[5:, :5]
  
file_path: sympy/sympy/matrices/expressions/tests/test_slice.py
imports: from sympy.matrices.expressions.slice import MatrixSlice
  from sympy.matrices.expressions import MatrixSymbol
  from sympy.abc import a, b, c, d, k, l, m, n
  from sympy.testing.pytest import raises, XFAIL
  from sympy.functions.elementary.integers import floor
  from sympy.assumptions import assuming, Q
label_desc: Use image node_id 7 for calling a global function with example usage: test_symmetry() without return types