File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [pytest]
2+ # Pytest configuration for distributed training framework
3+
4+ # Test discovery
5+ python_files = test_*.py
6+ python_classes = Test*
7+ python_functions = test_*
8+
9+ # Test directories
10+ testpaths = tests
11+
12+ # Markers for test categorization
13+ markers =
14+ slow: marks tests as slow (deselect with ' -m "not slow"' )
15+ gpu: marks tests that require GPU (deselect with ' -m "not gpu"' )
16+ distributed: marks tests that require multiple GPUs
17+ integration: marks integration tests
18+ unit: marks unit tests
19+
20+ # Timeout settings
21+ timeout = 300
22+ timeout_method = thread
23+
24+ # Coverage settings
25+ addopts =
26+ --verbose
27+ --strict-markers
28+ --tb =short
29+ --disable-warnings
30+
31+ # Ignore patterns
32+ norecursedirs = .git .tox dist build *.egg __pycache__ .cache
33+
34+ # Logging
35+ log_cli = true
36+ log_cli_level = INFO
37+ log_cli_format = %(asctime)s [%(levelname)8s] %(message)s
38+ log_cli_date_format = %Y-%m-%d %H:%M:%S
39+
40+ # Warnings
41+ filterwarnings =
42+ ignore::DeprecationWarning
43+ ignore::PendingDeprecationWarning
You can’t perform that action at this time.
0 commit comments