code: def test_equal():
      gs = gridspec.GridSpec(2, 1)
      assert gs[0, 0] == gs[0, 0]
      assert gs[:, 0] == gs[:, 0]
  
imports: import matplotlib.gridspec
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_equal() without return types