code: def test_deprecation_contrast_type_attribute():
      effect = np.ones((1, 3))
      variance = effect[0]
  
      with pytest.warns(DeprecationWarning, match="0.13.0"):
          contrast = Contrast(effect, variance, contrast_type="t")
  
      with pytest.warns(DeprecationWarning, match="0.13.0"):
          contrast.contrast_type
  
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 15 for calling a global function with example usage: test_deprecation_contrast_type_attribute() without return types