Mercurial > hg > MakeItSo
comparison makeitso/python_package/tests/test.py @ 125:19ffc278e35c
do the import right
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 19 May 2011 11:17:30 -0700 |
parents | 3eee157f4564 |
children | ea3225facbcf |
comparison
equal
deleted
inserted
replaced
124:3eee157f4564 | 125:19ffc278e35c |
---|---|
3 """ | 3 """ |
4 doctest runner | 4 doctest runner |
5 """ | 5 """ |
6 | 6 |
7 import doctest | 7 import doctest |
8 import optparse | |
9 import os | 8 import os |
10 import sys | 9 import sys |
10 from optparse import OptionParser | |
11 | |
11 | 12 |
12 def run_tests(raise_on_error=False, report_first=False): | 13 def run_tests(raise_on_error=False, report_first=False): |
13 | 14 |
14 # add results here | 15 # add results here |
15 results = {} | 16 results = {} |