The descriptions below show how to reproduce this problem in a conda environment using Python 3.13.5, pysam 0.23.3, pytest 8.4.1, and pytest-cov 6.2.1. (Also, the system I am running these tests on is ...
If the code interrupted for any reason, be it a coding error, pressing ctrl-c, saving code.py, copying a new library, the code quits and the i2c pins remain locked. This is happening on the second i2c ...