| import sys | |
| pytest_plugins = 'setuptools.tests.fixtures' | |
| def pytest_addoption(parser): | |
| parser.addoption( | |
| "--package_name", action="append", default=[], | |
| help="list of package_name to pass to test functions", | |
| ) | |
| collect_ignore = [ | |
| 'tests/manual_test.py', | |
| 'setuptools/tests/mod_with_constant.py', | |
| 'setuptools/_distutils', | |
| '_distutils_hack', | |
| ] | |
| if sys.version_info < (3, 6): | |
| collect_ignore.append('pavement.py') |