MCPcopy Create free account
hub / github.com/FastLED/FastLED / _is_test_executable

Function _is_test_executable

ci/run_tests.py:57–61  ·  view source on GitHub ↗

Check if a file is a valid test executable

(f: Path)

Source from the content-addressed store, hash-verified

55
56
57def _is_test_executable(f: Path) -> bool:
58 """Check if a file is a valid test executable"""
59 return (
60 f.is_file() and f.suffix not in [".o", ".obj", ".pdb"] and os.access(f, os.X_OK)
61 )
62
63
64def _get_test_patterns() -> list[str]:

Callers 1

discover_testsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected