forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
23 lines (18 loc) · 806 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[pytest]
# testpaths is new in 2.8
minversion = 2.8
testpaths = mypy/test
python_files = test*.py
# Where do the test cases come from? We provide our own collection
# logic by implementing `pytest_pycollect_makeitem` in mypy.test.data;
# the test files import that module, and pytest sees the magic name
# and invokes it at the relevant moment. See
# http://doc.pytest.org/en/latest/writing_plugins.html#collection-hooks
# Both our plugin and unittest provide their own collection logic,
# So we can disable the default python collector by giving it empty
# patterns to search for.
# Note that unittest requires that no "Test*" classes exist.
python_classes =
python_functions =
# always run in parallel (requires pytest-xdist, see test-requirements.txt)
addopts = -nauto --cov-append --cov-report=