We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cef0a4 commit e09dbd6Copy full SHA for e09dbd6
test/test_wrapper.py
@@ -6,7 +6,8 @@
6
@patch("sys.argv", ["wrapper.py", "--verbose"])
7
def test_wrapper(tmp_path, monkeypatch):
8
import xcengine
9
- sys.path += xcengine.__path__
+ for path in xcengine.__path__:
10
+ monkeypatch.syspath_prepend(path)
11
user_code_path = (tmp_path / "user_code.py")
12
user_code_path.touch()
13
os.environ["XC_USER_CODE_PATH"] = str(user_code_path)
0 commit comments