old_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from __future__ import print_function, division, absolute_import
  import sys
  
  import numba.testing as testing
  
  result = testing.test()
  sys.exit(0 if result else 1)
  
new_contents: #!/usr/bin/env python
  # -*- coding: utf-8 -*-
  from __future__ import print_function, division, absolute_import
  import sys
  
  import numba.testing as testing
  
  if __name__ == "__main__":
      result = testing.test()
      sys.exit(0 if result else 1)
  
subject: Use a __name__ guard in runtests.py, to avoid infinite spawning loop with multiprocessing under Windows