title: Does Python doctest remove the need for unit-tests?
body: <p>A fellow developer on a project I am on believes that doctests are as good as unit-tests, and that if a piece of code is doctested, it does not need to be unit-tested. I do not believe this to be the case. Can anyone provide some solid, ideally cited, examples either for or against the argument that doctests replace the need for unit-tests?</p>
  
  <p>Thank you
  -Daniel</p>
  
  <p>EDIT: Can anyone provide a reference showing that doctesting should not replace unit-testing? </p>