-
Notifications
You must be signed in to change notification settings - Fork 720
Expand file tree
/
Copy pathpytest.ini
More file actions
12 lines (12 loc) · 817 Bytes
/
Copy pathpytest.ini
File metadata and controls
12 lines (12 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
[pytest]
# Repo-root pytest config. Python unit tests live under python/tests/ (see python/pytest.ini for the
# config used when running from inside python/). This root config exists so that running `pytest` (or even
# `pytest .`) from the repo root collects ONLY python/tests/ and does not crawl into vendored dependency
# trees under tmp/ and cpp/tmp/ (onnx, cudnn-frontend, etc.), which carry hundreds of their own test files
# that are not part of this project and fail to even import here.
#
# This config is defensive, the normal invocation would be to run `pytest` from *within* the python/ dir.
testpaths = python/tests
pythonpath = python
# norecursedirs is matched against directory basenames anywhere in the tree.
norecursedirs = tmp old models testdata selfplay configs muon external __pycache__ .git cpp