blue-marble / gridpath

A versatile simulation and optimization platform for power-system planning and operations.
https://www.gridpath.io
Apache License 2.0
94 stars 36 forks source link

Gridpath .16 testing issue #1167

Open MahavirSingh20 opened 1 month ago

MahavirSingh20 commented 1 month ago

After installing GridPath .16, while testing GridPath codebase with the below command python -m unittest discover tests following error occurred: ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................E.E..........................................................

ERROR: tearDownClass (test_examples.TestExamples)

Traceback (most recent call last): File "C:\Users\aniket.tiwari\PATH\TO\gridpath16\tests\test_examples.py", line 1288, in tearDownClass os.remove(DB_PATH) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '../db\unittest_examples.db'

====================================================================== ERROR: setUpClass (test_viz.TestExamples)

Traceback (most recent call last): File "C:\Users\aniket.tiwari\PATH\TO\gridpath16\tests\test_viz.py", line 59, in setUpClass os.remove(DB_PATH) PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '../db\unittest_examples.db'


Ran 739 tests in 434.492s