def run(coverage=False):
"""
This runs the complete set of PyDiatomic tests.
"""
import nose
argv=['', '-s', '--where={}'.format(_base_dir), '--verbosity=2']
if coverage:
argv += ['--with-coverage', '--cover-package=abel']
result = nose.run(argv=argv)
status = int(not result)
return status
评论列表
文章目录