code: def test_smooth_shading_shallow_copy(sphere):
      """See also ``test_compute_normals_inplace``."""
      sphere.point_data["numbers"] = np.arange(sphere.n_points)
      sphere2 = sphere.copy(deep=False)
  
      sphere["numbers"] *= -1  # sphere2 'numbers' are also modified
      assert np.array_equal(sphere["numbers"], sphere2["numbers"])
      assert np.shares_memory(sphere["numbers"], sphere2["numbers"])
  
      pl = pv.Plotter()
      pl.add_mesh(sphere, scalars=None, smooth_shading=True)
      # Modify after adding and using compute_normals via smooth_shading
      sphere["numbers"] *= -1
      assert np.array_equal(sphere["numbers"], sphere2["numbers"])
      assert np.shares_memory(sphere["numbers"], sphere2["numbers"])
      pl.close()
  
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 12 for calling a global function with example usage: test_smooth_shading_shallow_copy(sphere) without return types