code: def test_picking_context(enable_picking):
      mesh = visuals.Mesh()
      mesh.picking = not enable_picking
  
      assert mesh.picking != enable_picking
  
      with mesh.set_picking(picking=enable_picking) as p:
          assert p == enable_picking
          assert mesh.picking == enable_picking
  
      assert mesh.picking != enable_picking
  
file_path: vispy/vispy/scene/tests/test_visuals.py
imports: import pytest
  from vispy.scene import visuals, Node
  from vispy.scene.visuals import VisualNode
  import vispy.visuals
label_desc: Use image node_id 10 for calling a global function with example usage: test_picking_context(enable_picking) without return types