On Wed, May 6, 2020 at 2:34 PM Paul Ganssle <p...@ganssle.io> wrote: > I think I tried something similar for tests that involved an environment > variable and found that it doesn't play nicely with coverage.py at all.
This is a solvable problem: https://coverage.readthedocs.io/en/coverage-5.1/subprocess.html But yeah, convincing your test framework to jump through the necessary hoops might be tricky. (Last time I did this I was using pytest-cov, which automatically takes care of all the details, so I'm not sure how tough it is.) -n -- Nathaniel J. Smith -- https://vorpus.org _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/Q3K6IT774HAS2IS62HN3NRV5VCBWTVLO/ Code of Conduct: http://python.org/psf/codeofconduct/