Skip to content

**[P1] Impossible assertion in builder command test** #219

Description

@pfahlr

[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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions