pymc.testing
attempts to import pytest
but pytest
is not in pymc
install requirements
#7218
Labels
pymc.testing
attempts to import pytest
but pytest
is not in pymc
install requirements
#7218
Describe the issue:
a41d524 included the
testing.py
module at the root level ofpymc
. setup.py says that the install requires are taken from requirements.txt, and that file does not includepytest
.This makes
from pymc.testing import anything
fail unless you already have installedpytest
. Shouldpymc
raise some kind of informative message instead of sayingModuleNotFoundError: No module named 'pytest'
?Reproduceable code example:
Error message:
ModuleNotFoundError: No module named 'pytest'
PyMC version information:
pymc version: 5.11.0
Context for the issue:
No response
The text was updated successfully, but these errors were encountered: