7 Star 14 Fork 7

Gitee 极速下载/Graphviz

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/xflr6/graphviz
克隆/下载
run-tests.py 631 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sebastian Bank 提交于 2021-12-13 21:53 +08:00 . 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))
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/Graphviz.git
git@gitee.com:mirrors/Graphviz.git
mirrors
Graphviz
Graphviz
master

搜索帮助