code: def test_LineOver1DRangeSeries_complex_range():
      # verify that LineOver1DRangeSeries can accept a complex range
      # if the imaginary part of the start and end values are the same
  
      x = symbols("x")
  
      LineOver1DRangeSeries(sqrt(x), (x, -10, 10))
      LineOver1DRangeSeries(sqrt(x), (x, -10 - 2j, 10 - 2j))
      raises(
          ValueError,
          lambda: LineOver1DRangeSeries(
              sqrt(x), (x, -10 - 2j, 10 + 2j)
          ),
      )
  
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 38 for calling a global function with example usage: test_LineOver1DRangeSeries_complex_range() without return types