code: def delete_node(node):
      if node is None or node.next is None:
          raise ValueError
      node.val = node.next.val
      node.next = node.next.next
  
imports: import unittest
label_desc: Use image node_id 1 for calling a global function with example usage: delete_node(node) without return types