code: def test_expression_to_contrast_vector(
      expression, design_columns, expected
  ):
      contrast = expression_to_contrast_vector(
          expression=expression, design_columns=design_columns
      )
      assert np.allclose(contrast, expected)
  
imports: import numpy
  import pytest
  import scipy.stats
  from numpy.testing import assert_almost_equal
  from sklearn.datasets import make_regression
  from sklearn.linear_model import LinearRegression
  from nilearn.glm.contrasts import Contrast, _compute_fixed_effects_params, compute_contrast, compute_fixed_effect_contrast, expression_to_contrast_vector
  from nilearn.glm.first_level import run_glm
label_desc: Use image node_id 1 for calling a global function with example usage: test_expression_to_contrast_vector(expression, design_columns, expected) without return types