MCPcopy Index your code
hub / github.com/numpy/numpy / normalize_filename

Function normalize_filename

numpy/_core/tests/test_multiarray.py:6081–6087  ·  view source on GitHub ↗
(tmp_path, param)

Source from the content-addressed store, hash-verified

6079
6080
6081def normalize_filename(tmp_path, param):
6082 # Handles two cases, where filename should
6083 # be a string, or a path object.
6084 path = tmp_path / "file"
6085 if param == "string":
6086 return str(path)
6087 return path
6088
6089
6090class TestIO:

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…