[pytest] testpaths = tests python_files = test_*.py python_classes = *Test python_functions = test_* # An unclosed xbmcvfs.File surfaces as a ResourceWarning, and on a Kodi box that # is a leaked VFS handle. Keep them visible - but note they cannot be promoted to # errors: the warning fires during garbage collection, outside any test's # context, so pytest cannot attribute it to a test. The enforcing check is # test_vfs_handles.py, which reads the source instead. filterwarnings = always::ResourceWarning