code: def test_enum_recycling_interleave(max_plate_nesting):
      def model():
          with pyro.markov() as m:
              with pyro.markov():
                  with m:  # error here
                      pyro.sample(
                          "x",
                          dist.Categorical(torch.ones(4)),
                          infer={"enumerate": "parallel"},
                      )
  
      assert_ok(model, max_plate_nesting=max_plate_nesting)
  
imports: import contextlib
  import logging
  import os
  from collections import defaultdict
  from queue import LifoQueue
  import pytest
  import torch
  from pyro.infer.enum import iter_discrete_escape, iter_discrete_extend
  from pyro.ops.indexing import Vindex
  from pyro.poutine import Trace
  from pyro.poutine.util import prune_subsample_sites
  from pyro.util import check_traceenum_requirements
label_desc: Use image node_id 12 for calling a global function with example usage: test_enum_recycling_interleave(max_plate_nesting) without return types