-
-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathpytest.ini
More file actions
20 lines (20 loc) · 650 Bytes
/
Copy pathpytest.ini
File metadata and controls
20 lines (20 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# tests/addons/ references the local-only `addons_common` module from the
# addon branch and should never be collected against the main repo.
norecursedirs = tests/addons .git __pycache__ bench_results
addopts =
-ra
--strict-markers
--tb=short
markers =
slow: tests that take significant time
gpu: tests that require a GPU
integration: end-to-end tests that touch real models / files
filterwarnings =
ignore::DeprecationWarning:ultralytics.*
ignore::DeprecationWarning:imageio.*
ignore::PendingDeprecationWarning