Closed jbayless closed 4 years ago
What version of miniconda are you using?
I apologize for the late reply! Ah... that seems to have been the issue. I was using 4.8.1. I updated to 4.8.3 today, and now the tests all run properly! I'll close the issue.
Thanks for the update. I've never run anaconda myself. I didn't think it was the cause, I was just trying to recreate your environment so I could check the problem. Glad it's working now.
Bug description
Can't run unit tests; they all choke on the line os.remove(self.filename) in remove_log_file in logger.py, which is imported at the start of every test.
To Reproduce Steps to reproduce the behavior:
This above error repeats ~30 times, once for each module in the tests directory.
Expected behavior Expected Pytest to run and all tests to pass.
Desktop (please complete the following information):
Additional context If I add a
try... except(PermissionError)
on the offending function, I can get the tests to run. In that case, 1 fails and 116 pass. The test that fails istest_xspice_1
, and the error is anOSError
raised from_load_backend_lib
indicating that ngspice.dll could not be located. (I don't think I have ngspice installed so that's not too concerning).