code: def main(modulename):
      if 0:
          unittest.main()
      elif len(sys.argv) == 2 and sys.argv[1] == "--debug":
          module = __import__(modulename)
          tests = unittest.TestLoader().loadTestsFromModule(module)
          tests.debug()
      elif len(sys.argv) == 1:
          module = __import__(modulename)
          tests = unittest.TestLoader().loadTestsFromModule(module)
          unittest.TextTestRunner(verbosity=2).run(tests)
      else:
          print("options: [--debug]")
  
file_path: Theano/theano/tests/main.py
imports: from __future__ import absolute_import, print_function, division
  import os
  import unittest
  import sys
  from numpy.testing.nosetester import NoseTester
label_desc: Use image node_id 1 for calling a global function with example usage: main(modulename) without return types