Skip to content

Commit 36e1126

Browse files
Don't copy rapids-test-dummy to temp dir
1 parent 8f2c8a8 commit 36e1126

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tests/conftest.py

+3-8
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ def wheelhouse(tmp_path_factory, pip_cache):
164164
"""A PEP 517 wheelhouse containing the local copy of rapids-build-backend."""
165165
wheelhouse = tmp_path_factory.mktemp("wheelhouse")
166166

167-
# Build the rapids-builder wheel in a temporary directory where we can bump the
168-
# version to ensure that it is preferred to any other available wheels.
167+
# Build the rapids-build-backend wheel in a temporary directory where we can bump
168+
# the version to ensure that it is preferred to any other available wheels.
169169
rapids_build_backend_build_dir = tmp_path_factory.mktemp(
170170
"rapids_build_backend_build_dir"
171171
)
@@ -176,11 +176,6 @@ def wheelhouse(tmp_path_factory, pip_cache):
176176
ignore=shutil.ignore_patterns("tests*"),
177177
dirs_exist_ok=True,
178178
)
179-
shutil.copytree(
180-
DIR / "tests/rapids-test-dummy",
181-
rapids_build_backend_build_dir / "tests/rapids-test-dummy",
182-
dirs_exist_ok=True,
183-
)
184179

185180
pyproject_file = rapids_build_backend_build_dir / "pyproject.toml"
186181
with open(pyproject_file) as f:
@@ -219,7 +214,7 @@ def wheelhouse(tmp_path_factory, pip_cache):
219214
str(wheelhouse),
220215
"--cache-dir",
221216
pip_cache,
222-
f"{rapids_build_backend_build_dir}/tests/rapids-test-dummy",
217+
f"{DIR}/tests/rapids-test-dummy",
223218
],
224219
check=True,
225220
)

0 commit comments

Comments
 (0)