code: def check_deps():
      try:
          import nose
  
          try:
              from unittest import mock
          except ImportError:
              import mock
      except ImportError:
          print("matplotlib.test requires nose and mock to run.")
          raise
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import sys
label_desc: Use image node_id 3 for calling a global function with example usage: check_deps() without return types