"""DITAv2 pytest collection policy. The files below are source generators or frozen backups, not executable tests. Both ``_gen_test.py`` paths match pytest's default ``*_test.py`` pattern and perform file generation at import time, so collecting them corrupts the test boundary and can fail before the real suite loads. """ collect_ignore = ["_gen_test.py"] collect_ignore_glob = ["_backup_20260530/*"]