https://pantsbuild.org/ logo
g

glamorous-cpu-22971

01/17/2023, 3:59 PM
👋 Is there a way to reference
pytest
in the
dependencies
parameter of a
python_tests
target?
Copy code
python_tests(
    dependencies = [
        "tests/my/special/test:lib",
        "3rdparty/python:pytest", # <-- I have test sources that `import pytest` so I think the type checker wants to see an explicit dependency stated here…
    ],
)
4 Views