code: def test_Fcontrast(rng, set_up_glm, model):
      labels, results, q = set_up_glm(rng, model)
      for con_val in [np.eye(q)[0], np.eye(q)[:3]]:
          z_vals = compute_contrast(
              labels, results, con_val, stat_type="F"
          ).z_score()
  
          assert_almost_equal(z_vals.mean(), 0, 0)
          assert_almost_equal(z_vals.std(), 1, 0)
  
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 6 for calling a global function with example usage: test_Fcontrast(rng, set_up_glm, model) without return types