Skip to content

Commit

Permalink
Remove unused __main__ block that ran doctests from a non-test module.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarnell committed Feb 2, 2012
1 parent de4c5fa commit ffc9b3d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tornado/httputil.py
Expand Up @@ -274,7 +274,3 @@ def _parse_header(line):
def doctests():
import doctest
return doctest.DocTestSuite()

if __name__ == "__main__":
import doctest
doctest.testmod()

0 comments on commit ffc9b3d

Please sign in to comment.