Skip to content

Commit

Permalink
Made path absolute, regardless of where python was invoked
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbraza committed Jan 21, 2024
1 parent 3d23a5e commit 31692ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/core/tests/unit_tests/prompts/test_loading.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from langchain_core.prompts.loading import load_prompt
from langchain_core.prompts.prompt import PromptTemplate

EXAMPLE_DIR = Path("tests/unit_tests/examples").absolute()
EXAMPLE_DIR = (Path(__file__).parent.parent / "examples").absolute()


@contextmanager
Expand Down

0 comments on commit 31692ad

Please sign in to comment.