Skip to content

Commit 744dedb

Browse files
committed
Append, rather than insert - safer.
1 parent f208d37 commit 744dedb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def add_cwd_to_syspath():
2222
"""
2323
cwd = os.getcwd()
2424
if cwd not in sys.path:
25-
sys.path.insert(0, cwd)
25+
sys.path.append(cwd)
2626

2727

2828
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)