code: def test_tight_layout5():
      """Test tight_layout for image."""
      ax = plt.subplot()
      arr = np.arange(100).reshape((10, 10))
      ax.imshow(arr, interpolation="none")
      plt.tight_layout()
  
imports: import warnings
  import numpy
  from numpy.testing import assert_array_equal
  import pytest
  import matplotlib
  from matplotlib.testing.decorators import image_comparison
  import matplotlib.pyplot
  from matplotlib.offsetbox import AnchoredOffsetbox, DrawingArea
  from matplotlib.patches import Rectangle
label_desc: Use image node_id 6 for calling a global function with example usage: test_tight_layout5() without return types