code: def _nullcontext(enter_result=None):
      """Used for mocking timer context."""
      yield enter_result
  
imports: import collections
  from contextlib import closing, contextmanager
  import logging
  import numpy
  import socket
  import time
label_desc: Use image node_id 1 for calling a global function with example usage: _nullcontext(enter_result) without return types