MCPcopy
hub / github.com/pandas-dev/pandas / deco

Function deco

pandas/conftest.py:1187–1195  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

1185 BASE_PATH = os.path.join(os.path.dirname(__file__), "tests")
1186
1187 def deco(*args):
1188 path = os.path.join(BASE_PATH, *args)
1189 if not os.path.exists(path):
1190 if strict_data_files:
1191 raise ValueError(
1192 f"Could not find file {path} and --no-strict-data-files is not set."
1193 )
1194 pytest.skip(f"Could not find {path}.")
1195 return path
1196
1197 return deco
1198

Callers

nothing calls this directly

Calls 2

existsMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected