title: Python : Check for runtime errors
body: <p>I wrote a python module. Running python filename.py, only checks for syntax errors. Is there a tool, which checks for runtime errors also, like concatenating int with string etc..</p>
  
  <p>Thank you<br>
  Bala</p>
  
  <blockquote>
    <p>Update:
    Scripts are mainly about setting up a hadoop cluster in the cloud. I am not sure how I can write a unit test, because everything runs in the cloud. You can think of code as legacy code, and I just added more logging and some extra conditions a few places</p>
  </blockquote>