code: def test_sampling_gaussian_inverse():
      scipy = import_module("scipy")
      if not scipy:
          skip(
              "Scipy not installed. Abort tests for sampling of Gaussian inverse."
          )
      X = GaussianInverse("x", 1, 1)
      assert sample(X, library="scipy") in X.pspace.domain.set
  
file_path: sympy/sympy/stats/sampling/tests/test_sample_continuous_rv.py
imports: from sympy.core.numbers import oo
  from sympy.core.symbol import Symbol
  from sympy.functions.elementary.exponential import exp
  from sympy.sets.sets import Interval
  from sympy.external import import_module
  from sympy.stats import Beta, Chi, Normal, Gamma, Exponential, LogNormal, Pareto, ChiSquared, Uniform, sample, BetaPrime, Cauchy, GammaInverse, GaussianInverse, StudentT, Weibull, density, ContinuousRV, FDistribution, Gumbel, Laplace, Logistic, Rayleigh, Triangular
  from sympy.testing.pytest import skip, raises
label_desc: Use image node_id 6 for calling a global function with example usage: test_sampling_gaussian_inverse() without return types