Skip to content

Gridpath .16 testing issue #1167

@MahavirSingh20

Description

@MahavirSingh20

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions