https://github.com/xflr6/graphviz
Raw File
Tip revision: 00e5eccaf5f986995b9bf81464a6b338541317b2 authored by Sebastian Bank on 21 August 2019, 18:28:47 UTC
release 0.12
Tip revision: 00e5ecc
run-tests.py
#!/usr/bin/env python
# run-tests.py

import sys

import pytest

ARGS = [
    #'--exitfirst',
    #'--pdb',
]

if 'idlelib' in sys.modules:
    ARGS.extend(['--capture=sys', '--color=no'])
elif sys.version_info.major == 2 and 'win_unicode_console' in sys.modules:
    ARGS.append('--capture=sys')

pytest.main(ARGS + sys.argv[1:])
back to top