code: def test_rng_seed(backend):
      def model():
          return pyro.sample("x", dist.Normal(0, 1))
  
      with pyro_backend(backend):
          with handlers.seed(rng_seed=0):
              expected = model()
          with handlers.seed(rng_seed=0):
              actual = model()
          assert ops.allclose(actual, expected)
  
imports: import warnings
  import pytest
  import funsor
  from funsor.testing import xfail_param
  from funsor.util import get_backend
label_desc: Use image node_id 7 for calling a global function with example usage: test_rng_seed(backend) and returns: pyro