py-setuptools/conftest.py

27 lines
537 B
Python
Raw Normal View History

import sys
pytest_plugins = 'setuptools.tests.fixtures'
def pytest_addoption(parser):
2016-12-01 16:54:40 +02:00
parser.addoption(
"--package_name", action="append", default=[],
help="list of package_name to pass to test functions",
)
2018-06-06 15:38:07 +03:00
collect_ignore = [
'tests/manual_test.py',
'setuptools/tests/mod_with_constant.py',
]
if sys.version_info < (3,):
collect_ignore.append('setuptools/lib2to3_ex.py')
collect_ignore.append('setuptools/_imp.py')
if sys.version_info < (3, 6):
collect_ignore.append('pavement.py')