-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
30 lines (24 loc) · 814 Bytes
/
pytest.ini
File metadata and controls
30 lines (24 loc) · 814 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
[pytest]
# Pytest configuration for graphs project
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Output options
addopts =
--tb=short
--strict-markers
# Filter warnings
filterwarnings =
# Ignore return value warnings for benchmark-style tests
# These tests return data for aggregation in __main__ blocks (dual-purpose: pytest + standalone benchmarks)
ignore::pytest.PytestReturnNotNoneWarning
# Ignore FutureWarnings from torch._dynamo (expected during development)
ignore::FutureWarning:torch._dynamo
# Test markers
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
gpu: marks tests that require GPU
hardware: marks tests that validate hardware models
# Minimum Python version
minversion = 3.8