Mercurial > hgsubversion
diff tests/comprehensive/test_verify.py @ 426:72e63999722f
tests: make comprehensive tests work properly with nose and run.py
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 15 Jun 2009 12:26:20 -0500 |
parents | 636e9bf5d49c |
children | 868693631372 |
line wrap: on
line diff
--- a/tests/comprehensive/test_verify.py +++ b/tests/comprehensive/test_verify.py @@ -2,7 +2,12 @@ import os import pickle import unittest -import test_util +# wrapped in a try/except because of weirdness in how +# run.py works as compared to nose. +try: + import test_util +except ImportError: + from tests import test_util from mercurial import hg from mercurial import ui