-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpytest.ini
More file actions
27 lines (21 loc) · 890 Bytes
/
pytest.ini
File metadata and controls
27 lines (21 loc) · 890 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
[pytest]
# Pytest configuration for MRCpy
# Filter out external library deprecation warnings that we cannot fix
filterwarnings =
# Ignore CVXPY numpy deprecation warnings (fixed in newer CVXPY versions)
ignore:.*np\.complex.*:DeprecationWarning:cvxpy.*
ignore:.*np\.double.*:DeprecationWarning:cvxpy.*
# Ignore Gurobi deprecation warnings from CVXPY
ignore:.*addMConstr.*:DeprecationWarning:cvxpy.*
# Ignore invalid escape sequence warnings (fixed by using raw strings)
ignore:invalid escape sequence:DeprecationWarning
# Keep our own warnings visible (don't filter MRCpy warnings)
default::DeprecationWarning:MRCpy.*
default::RuntimeWarning:MRCpy.*
default::UserWarning:MRCpy.*
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
console_output_style = progress