Skip to content

Commit

Permalink
fix: a syntax resulting in failed API test in editable mode
Browse files Browse the repository at this point in the history
  • Loading branch information
moe-ad committed Dec 9, 2024
1 parent 9e18458 commit 5151914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/dpf/core/custom_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def update_virtual_environment_for_custom_operators(
if path_file.exists():
# Treat editable installation of ansys-dpf-core
with path_file.open("r") as f:
current_site_packages_path = f.readline().strip()
current_site_packages_path = Path(f.readline().strip())

Check warning on line 128 in src/ansys/dpf/core/custom_operator.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/dpf/core/custom_operator.py#L127-L128

Added lines #L127 - L128 were not covered by tests
with tempfile.TemporaryDirectory() as tmpdir:
tmpdir = Path(tmpdir)
ansys_dir = tmpdir / "ansys_dpf_core"
Expand Down

0 comments on commit 5151914

Please sign in to comment.