code: def test_render_lines_as_tubes_show_edges_warning(sphere):
      pl = pv.Plotter()
      with pytest.warns(UserWarning, match="not supported"):
          actor = pl.add_mesh(
              sphere, render_lines_as_tubes=True, show_edges=True
          )
      assert not actor.prop.show_edges
      assert actor.prop.render_lines_as_tubes
  
imports: import os
  import numpy
  import pytest
  import vtk
  import pyvista
  from pyvista.core.errors import MissingDataError, PyVistaDeprecationWarning
  from pyvista.plotting import _plotting
  from pyvista.plotting.errors import RenderWindowUnavailable
  from pyvista.plotting.utilities.gl_checks import uses_egl
label_desc: Use image node_id 3 for calling a global function with example usage: test_render_lines_as_tubes_show_edges_warning(sphere) without return types