code: def test_plot_connectome_exceptions_non_symmetric_adjacency(matrix):
      """Tests that warning messages are given when the adjacency matrix ends
      up being non symmetric.
      """
      node_coords = np.arange(2 * 3).reshape((2, 3))
      with pytest.warns(
          UserWarning, match="A directed graph will be plotted."
      ):
          plot_connectome(matrix, node_coords, display_mode="x")
      plt.close()
  
imports: import os
  import matplotlib.pyplot
  import numpy
  import pytest
  from matplotlib.patches import FancyArrow
  from scipy import sparse
  from nilearn.plotting import plot_connectome
label_desc: Use image node_id 17 for calling a global function with example usage: test_plot_connectome_exceptions_non_symmetric_adjacency(matrix) without return types