code: def test_normal(loc, scale):
      num_samples = 100000
      expected = dist.Normal(loc, scale).sample([num_samples])
      actual = dist.Stable(2, 0, scale * 0.5**0.5, loc).sample(
          [num_samples]
      )
      assert_close(actual.mean(), expected.mean(), atol=0.01)
      assert_close(actual.std(), expected.std(), atol=0.01)
  
file_path: pyro/tests/distributions/test_stable.py
imports: import warnings
  import pytest
  import torch
  from scipy.integrate.quadpack import IntegrationWarning
  from scipy.stats import ks_2samp, kstest, levy_stable
  import pyro.distributions
  import pyro.distributions.stable
  from tests.common import assert_close
label_desc: Use image node_id 4 for calling a global function with example usage: test_normal(loc, scale) without return types