code: def test_parenthood() -> None:
      param = par.Instrumentation(
          par.Scalar(init=1.0, mutable_sigma=True).set_mutation(
              exponent=2.0, sigma=5
          )
      )
      sigma_uid = param[0][0].sigma.uid  # type: ignore
      param_samp = param.sample()
      param_spawn = param.spawn_child()
      assert param_samp[0][0].sigma.parents_uids == []  # type: ignore
      assert param_spawn[0][0].sigma.parents_uids == [sigma_uid]
  
imports: import pickle
  import typing
  import pytest
  import numpy
  from nevergrad.common import errors
  from .None import parameter
label_desc: Use image node_id 28 for calling a global function with example usage: test_parenthood() without return types