Skip to content

Commit dda9105

Browse files
author
andrepsousa
committed
test: add conftest to ensure src is importable in CI
1 parent c45efc6 commit dda9105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22
import sys
33

4-
PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(_file_), ".."))
4+
PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
55
if PROJECT_ROOT not in sys.path:
66
sys.path.insert(0, PROJECT_ROOT)

0 commit comments

Comments
 (0)