Skip to content

Commit

Permalink
disable test
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Feb 1, 2023
1 parent 443135f commit fc6cedd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/database/test_database_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ def tearDownClass(cls):
Returns:
"""
cls.database.conn.close()
os.remove("test_database.db")
if os.name != 'nt':
# On windows we get PermissionError: [WinError 32] The process cannot access the
# file because it is being used by another process: 'test_database.db'
os.remove("test_database.db")

def tearDown(self):
"""
Expand Down

0 comments on commit fc6cedd

Please sign in to comment.