Skip to content

Commit 0f42751

Browse files
committed
fix: use pyproject.toml pythonpath instead of sys.path hack
1 parent 9c0fa3b commit 0f42751

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tool.pytest.ini_options]
2+
pythonpath = ["."]

tests/compatibility/test_conftest_helpers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
import io
2-
import os
3-
import sys
4-
5-
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
62

73
from tests.compatibility.conftest import _build_devcloud_cmd, _start_server_error
84

0 commit comments

Comments
 (0)