blob: 6c9df86a1ce3b09712d0e52c95b4a48f7e1f8da0 [file] [log] [blame] [edit]
import sys
collect_ignore_glob: list[str] = []
# Skip Apple tests on Windows. Note that some Core ML tests can run on Linux, as the AOT flow
# is available. Tests will manage this internally. However, the coremltools import is not available
# on Windows and causes collection to fail. The easiest way to manage this seems to be to just
# skip collection for this subdirectory on unsupported platforms.
if sys.platform == "win32":
collect_ignore_glob += [
"backends/apple/**",
]