Closed lucianopaz closed 3 months ago
Maybe we should import pytest locally, because not everything in there requires it. We are only using pytest for the pytest.warns feature
Yes, that's fine with me.
I would like to take this (as part of the hackathon)
Describe the issue:
a41d5244b8ec78372751924ba0484ed02d57b2cb 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:
PyMC version information:
pymc version: 5.11.0
Context for the issue:
No response