Skip to content

Commit

Permalink
dont pollute fixtures in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbleby authored and abn committed Mar 23, 2024
1 parent a283bfe commit 8a8f21b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/utils/test_isolated_build.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import shutil
import sys

from pathlib import Path
Expand Down Expand Up @@ -85,7 +86,8 @@ def test_isolated_env_install_failure(
def test_isolated_builder_outside_poetry_project_context(
tmp_working_directory: Path, fixture_dir: FixtureDirGetter
) -> None:
source = fixture_dir("project_with_setup")
source = tmp_working_directory / "source"
shutil.copytree(fixture_dir("project_with_setup"), source)
destination = tmp_working_directory / "dist"

try:
Expand Down

0 comments on commit 8a8f21b

Please sign in to comment.