code: def assert_des_con_equal(one, two):
      des1, con1 = one
      des2, con2 = two
      assert_array_equal(des1, des2)
      assert set(con1) == set(con2)
      for key in con1:
          assert_array_equal(con1[key], con2[key])
  
file_path: nipy/nipy/modalities/fmri/tests/test_design.py
imports: from os.path import dirname
  from os.path import join
  import numpy
  import pytest
  from numpy.testing import assert_almost_equal, assert_array_equal
  from nipy.algorithms.statistics.formula import make_recarray
  from ..design import block_amplitudes, block_design, event_design, openfmri2nipy, stack2designs, stack_designs
  from ..hrf import dglover, glover
  from ..utils import T, blocks, convolve_functions, events, lambdify_t
label_desc: Use image node_id 3 for calling a global function with example usage: assert_des_con_equal(one, two) without return types