3 Star 0 Fork 0

依赖极速下载 / graphviz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run-tests.py 631 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sebastian Bank 提交于 2021-12-13 14:53 . flake8, improve description
#!/usr/bin/env python3
# flake8: noqa
"""Run the tests with https://pytest.org."""
import pathlib
import platform
import sys
import pytest
SELF = pathlib.Path(__file__)
ARGS = [#'--skip-exe',
#'--only-exe',
#'--collect-only',
#'--verbose',
#'--pdb',
#'--exitfirst', # a.k.a. -x
#'-W', 'error',
#'--doctest-report none',
]
if platform.system() == 'Windows' and 'idlelib' in sys.modules:
ARGS += ['--capture=sys', '--color=no']
print('run', [SELF.name] + sys.argv[1:])
args = ARGS + sys.argv[1:]
print(f'pytest.main({args!r})')
sys.exit(pytest.main(args))
1
https://gitee.com/mirrors_addons/graphviz.git
git@gitee.com:mirrors_addons/graphviz.git
mirrors_addons
graphviz
graphviz
master

搜索帮助