langchain/libs/core/tests/unit_tests
Ran 129a929d69
infra: Fix test filesystem paths incompatible with windows (#14388)
- **Description:** This PR fixes test failures on Windows caused by path
handling differences and unescaped special characters in regex. The
failing tests are:
```
FAILED tests/unit_tests/storage/test_filesystem.py::test_yield_keys - AssertionError: assert ['key1', 'subdir\\key2'] == ['key1', 'subdir/key2']
FAILED tests/unit_tests/test_imports.py::test_importable_all - ModuleNotFoundError: No module named 'langchain_community.langchain_community\\adapters'
FAILED tests/unit_tests/tools/file_management/test_utils.py::test_get_validated_relative_path_errs_on_absolute - re.error: incomplete escape \U at position 53
FAILED tests/unit_tests/tools/file_management/test_utils.py::test_get_validated_relative_path_errs_on_parent_dir - re.error: incomplete escape \U at position 69
FAILED tests/unit_tests/tools/file_management/test_utils.py::test_get_validated_relative_path_errs_for_symlink_outside_root - re.error: incomplete escape \U at position 64
```

- **Issue:** fixes
https://github.com/langchain-ai/langchain/issues/11775 (partially)
- **Dependencies:** none
2023-12-21 13:45:42 -08:00
..
_api REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
callbacks BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
data Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
documents REFACTOR: combine core documents files (#13733) 2023-11-22 10:10:26 -08:00
example_selectors BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
examples Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
fake core[patch]: add response kwarg to on_llm_error 2023-12-04 15:04:48 -08:00
language_models core[patch]: add response kwarg to on_llm_error 2023-12-04 15:04:48 -08:00
load BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
messages Fixes for opengpts release (#13960) 2023-11-28 21:49:43 +00:00
output_parsers Move json and xml parsers to core (#15026) 2023-12-21 12:36:56 -08:00
outputs BUG: more core fixes (#13665) 2023-11-21 15:15:48 -08:00
prompts Add option to make messages placeholder optional (#15031) 2023-12-21 12:36:37 -08:00
runnables core(minor): Implement stream and astream for RunnableBranch (#14805) 2023-12-20 15:37:56 -05:00
tracers core[patch], langchain[patch]: fix required deps (#14373) 2023-12-07 14:24:58 -08:00
utils community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
__init__.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
conftest.py core[patch], langchain[patch]: fix required deps (#14373) 2023-12-07 14:24:58 -08:00
prompt_file.txt Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_globals.py Separate out langchain_core package (#13577) 2023-11-20 13:09:30 -08:00
test_imports.py infra: Fix test filesystem paths incompatible with windows (#14388) 2023-12-21 13:45:42 -08:00
test_messages.py \Fix tool_calls message merge (#14613) 2023-12-13 12:37:40 -08:00
test_outputs.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00
test_tools.py REFACTOR: Refactor langchain_core (#13627) 2023-11-21 08:35:29 -08:00