code: def test_plot_connectome_exception_wrong_edge_threshold(
      adjacency, node_coords
  ):
      """Tests that a TypeError is raised in plot_connectome when edge
      threshold is neither a number nor a string.
      """
      with pytest.raises(
          TypeError, match="should be either a number or a string"
      ):
          plot_connectome(
              adjacency,
              node_coords,
              edge_threshold=object(),
              display_mode="x",
          )
  
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 19 for calling a global function with example usage: test_plot_connectome_exception_wrong_edge_threshold(adjacency, node_coords) without return types