What is the correct way to run all the doctests in a given file from the command line?

  • python3 -m doctest <filename>
  • python3 <filename>
  • python3 <filename> rundoctests
  • python3 doctest
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend