code: def test_t_contrast_mul():
      mulm, n, p, q = ar1_glm()
      con1 = mulm.contrast(np.eye(q)[0])
      con2 = con1 * 2
      assert_almost_equal(con1.z_score(), con2.z_score())
      assert_almost_equal(con1.effect * 2, con2.effect)
  
imports: import numpy
  import pytest
  from nibabel import Nifti1Image, load, save
  from numpy.testing import assert_almost_equal, assert_array_almost_equal, assert_array_equal
  from nipy.io.nibcompat import get_affine
  from nipy.testing import funcfile
  from nipy.testing.decorators import if_example_data
  from ..glm import FMRILinearModel, GeneralLinearModel, data_scaling
label_desc: Use image node_id 21 for calling a global function with example usage: test_t_contrast_mul() without return types