Mercurial > hg > carton
diff tests/test.py @ 10:d1f090c5f291
lets make some more tests
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Fri, 08 Jul 2011 13:23:47 -0700 |
parents | 7ea2b5f12b2d |
children |
line wrap: on
line diff
--- a/tests/test.py Fri Jul 08 13:10:20 2011 -0700 +++ b/tests/test.py Fri Jul 08 13:23:47 2011 -0700 @@ -17,7 +17,8 @@ # doctest arguments directory = os.path.dirname(os.path.abspath(__file__)) - extraglobs = {'here': directory} + extraglobs = {'here': directory, + 'python': sys.executable} doctest_args = dict(extraglobs=extraglobs, raise_on_error=raise_on_error) if report_first: doctest_args['optionflags'] = doctest.REPORT_ONLY_FIRST_FAILURE