code: def test_context():
      with pm.Model():
          pm.Normal("x")
          ctx = multiprocessing.get_context("spawn")
          with warnings.catch_warnings():
              warnings.filterwarnings(
                  "ignore", ".*number of samples.*", UserWarning
              )
              pm.sample(tune=2, draws=2, chains=2, cores=2, mp_ctx=ctx)
  
imports: import multiprocessing
  import os
  import platform
  import sys
  import warnings
  import cloudpickle
  import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from pytensor.compile.ops import as_op
  from pytensor.tensor.type import TensorType
  import pymc
  import pymc.sampling.parallel
  from pymc.pytensorf import floatX
label_desc: Use image node_id 1 for calling a global function with example usage: test_context() without return types