code: def test_force_real_eval():
      # verify that force_real_eval=True produces inconsistent results when
      # compared with evaluation of complex domain.
      if not np:
          skip("numpy not installed.")
  
      x = symbols("x")
  
      expr = im(sqrt(x) * exp(-(x**2)))
      s1 = LineOver1DRangeSeries(
          expr,
          (x, -10, 10),
          adaptive=False,
          n=10,
          force_real_eval=False,
      )
      s2 = LineOver1DRangeSeries(
          expr, (x, -10, 10), adaptive=False, n=10, force_real_eval=True
      )
      d1 = s1.get_data()
      with ignore_warnings(RuntimeWarning):
          d2 = s2.get_data()
      assert not np.allclose(d1[1], 0)
      assert np.allclose(d2[1], 0)
  
imports: from sympy import latex, exp, symbols, I, pi, sin, cos, tan, log, sqrt, re, im, arg, frac, Sum, S, Abs, lambdify, Function, dsolve, Eq, floor, Tuple
  from sympy.external import import_module
  from sympy.plotting.series import LineOver1DRangeSeries, Parametric2DLineSeries, Parametric3DLineSeries, SurfaceOver2DRangeSeries, ContourSeries, ParametricSurfaceSeries, ImplicitSeries, _set_discretization_points, List2DSeries
  from sympy.testing.pytest import raises, warns, XFAIL, skip, ignore_warnings
label_desc: Use image node_id 36 for calling a global function with example usage: test_force_real_eval() without return types