code: def test_constrained_layout21():
      """#11035: repeated calls to suptitle should not alter the layout"""
      fig, ax = plt.subplots(layout="constrained")
  
      fig.suptitle("Suptitle0")
      fig.draw_without_rendering()
      extents0 = np.copy(ax.get_position().extents)
  
      fig.suptitle("Suptitle1")
      fig.draw_without_rendering()
      extents1 = np.copy(ax.get_position().extents)
  
      np.testing.assert_allclose(extents0, extents1)
  
imports: import gc
  import numpy
  import pytest
  import matplotlib
  from matplotlib.testing.decorators import image_comparison
  import matplotlib.pyplot
  import matplotlib.transforms
  from matplotlib import gridspec, ticker
label_desc: Use image node_id 25 for calling a global function with example usage: test_constrained_layout21() without return types