pruned venvs

This commit is contained in:
d3m1g0d
2019-03-12 21:56:25 +01:00
parent 8ee094481c
commit 33f0511081
4095 changed files with 0 additions and 748399 deletions
@@ -1,25 +0,0 @@
"""
Entrypoint for testing from the top-level namespace
"""
import os
import sys
PKG = os.path.dirname(os.path.dirname(__file__))
def test(extra_args=None):
try:
import pytest
except ImportError:
raise ImportError("Need pytest>=3.0 to run tests")
cmd = ['--skip-slow', '--skip-network']
if extra_args:
if not isinstance(extra_args, list):
extra_args = [extra_args]
cmd = extra_args
cmd += [PKG]
print("running: pytest {}".format(' '.join(cmd)))
sys.exit(pytest.main(cmd))
__all__ = ['test']