python-humanfriendly icon indicating copy to clipboard operation
python-humanfriendly copied to clipboard

Do not import setup in the tests module

Open s-t-e-v-e-n-k opened this issue 3 years ago • 0 comments

pytest 7 and above will call any setup as a hook for any module collected, which in this case calls into the Sphinx machinery due to importing the setup function from there. Import it as something else so that pytest will not call it.

Fixes #64

s-t-e-v-e-n-k avatar Jul 29 '22 07:07 s-t-e-v-e-n-k