code: def test_PlotItem_shared_axis_items(orientation):
      """Adding an AxisItem to multiple plots raises RuntimeError"""
      ax1 = pg.AxisItem(orientation)
      ax2 = pg.AxisItem(orientation)
  
      layout = pg.GraphicsLayoutWidget()
  
      _ = layout.addPlot(axisItems={orientation: ax1})
  
      pi2 = layout.addPlot()
      # left or bottom replaces, right or top adds new
      pi2.setAxisItems({orientation: ax2})
  
      with pytest.raises(RuntimeError):
          pi2.setAxisItems({orientation: ax1})
  
file_path: pyqtgraph/tests/graphicsItems/PlotItem/test_PlotItem.py
imports: import numpy
  import pytest
  import pyqtgraph
label_desc: Use image node_id 3 for calling a global function with example usage: test_PlotItem_shared_axis_items(orientation) without return types