-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpytest.ini
More file actions
33 lines (28 loc) · 841 Bytes
/
pytest.ini
File metadata and controls
33 lines (28 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[pytest]
# Additional pytest configuration
# Main configuration is in pyproject.toml
# Test discovery patterns
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Output options
console_output_style = progress
junit_family = xunit2
# Warnings
filterwarnings =
error
ignore::DeprecationWarning:jaxopt.*
ignore:.*unzip2 was deprecated.*:DeprecationWarning
ignore::UserWarning:jax.*
ignore::FutureWarning:jax.*
ignore:Implicit conversion of an array to a dtype is deprecated:DeprecationWarning
# Coverage options (when using --cov)
addopts =
--strict-markers
--strict-config
--tb=short
--maxfail=10
# Custom markers
markers =
fast: marks tests as fast/unit-level (select with -m fast)
docs: marks tests for documentation code examples (select with -m docs)