You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/experimental/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
9 months ago
..
chat_models Use pytest asyncio auto mode (#13643) 10 months ago
python Add python,pandas,xorbits,spark agents to experimental (#11774) 11 months ago
rl_chain Install and use `ruff format` instead of black for code formatting. (#12585) 11 months ago
__init__.py black formatting 1 year ago
conftest.py Add conftest file to langchain experimental (#9886) 1 year ago
fake_llm.py Use a submodule for pydantic v1 compat (#9371) 1 year ago
test_bash.py add LLMBashChain to experimental (#11305) 12 months ago
test_data_anonymizer.py langchain-experimental: Add allow_list support in experimental/data_anonymizer (#11597) 12 months ago
test_imports.py infra: Fix test filesystem paths incompatible with windows (#14388) 9 months ago
test_llm_bash.py add LLMBashChain to experimental (#11305) 12 months ago
test_llm_symbolic_math.py Add SymbolicMathChain to experiment in preparation for deprecation (#11129) 12 months ago
test_logical_fallacy.py adding new chain for logical fallacy removal from model output in chain (#9887) 1 year ago
test_mock.py Harrison/move experimental (#8084) 1 year ago
test_pal.py remove code (#8425) 1 year ago
test_reversible_data_anonymizer.py langchain-experimental: Add allow_list support in experimental/data_anonymizer (#11597) 12 months ago
test_smartllm.py Added SmartGPT workflow (issue #4463) (#4816) 1 year ago
test_sql.py Add memory to sql chain (#8597) 12 months ago
test_tot.py core[patch], langchain[patch]: fix required deps (#14373) 10 months ago