[P1] Impossible assertion in builder command test
test_build_builder_command_targets_pdf_and_chunks asserts both command[:2] == [sys.executable, str(builder)] and command[1:3] == ["-m", "src.langchain.lc_build_index"]. These conditions cannot be simultaneously true because command[1] cannot be both str(builder) and "-m". As written the new test will always fail, regardless of the command produced by build_builder_command.
Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #210 (comment)
[P1] Impossible assertion in builder command test
test_build_builder_command_targets_pdf_and_chunksasserts bothcommand[:2] == [sys.executable, str(builder)]andcommand[1:3] == ["-m", "src.langchain.lc_build_index"]. These conditions cannot be simultaneously true becausecommand[1]cannot be bothstr(builder)and"-m". As written the new test will always fail, regardless of the command produced bybuild_builder_command.Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in #210 (comment)