MCPcopy Create free account
hub / github.com/pytorch/executorch / get_test_dir

Method get_test_dir

backends/mlx/test/test_utils.py:875–879  ·  view source on GitHub ↗

Get the directory for this test's files.

(self)

Source from the content-addressed store, hash-verified

873 return None
874
875 def get_test_dir(self) -> Path:
876 """Get the directory for this test's files."""
877 test_dir = Path(__file__).parent / "op_tests" / self.name
878 test_dir.mkdir(parents=True, exist_ok=True)
879 return test_dir
880
881 def generate_test_files(self, verbose: bool = False) -> Tuple[Path, Path, Path]:
882 """

Callers 5

generate_test_filesMethod · 0.95
compare_with_actualMethod · 0.95
run_testMethod · 0.95
run_op_test_mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected