code: def normaltest(a, axis=0, nan_policy="propagate"):
      if nan_policy != "propagate":
          raise NotImplementedError(
              "`nan_policy` other than 'propagate' have not been implemented."
          )
  
      s, _ = skewtest(a, axis)
      k, _ = kurtosistest(a, axis)
      k2 = s * s + k * k
      return delayed(NormaltestResult, nout=2)(
          k2, delayed(distributions.chi2.sf)(k2, 2)
      )
  
imports: from __future__ import annotations
  import math
  from collections import namedtuple
  import numpy
  import dask.array
  from dask import delayed
  from dask.array.ufunc import wrap_elemwise
  from dask.utils import derived_from
  from scipy import special
  from scipy.stats import distributions
label_desc: Use image node_id 10 for calling a global function with example usage: normaltest(a, axis, nan_policy) and returns: delayed