Skip to content

Python -00 test is fragile to PATH #21450

Closed
@TomAugspurger

Description

@TomAugspurger

subprocess.check_call(["python", "-OO", "-c", "import pandas"])

that assumes that first python on the PATH is the one running the tests, which it may not be (e.g. if doing ./venv/bin/python

We should replace python with something like sys.executable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions