From fc6cedddc2d008d141b50753acfaac8ae19aaee7 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Wed, 1 Feb 2023 11:07:12 -0700 Subject: [PATCH] disable test --- tests/database/test_database_access.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/database/test_database_access.py b/tests/database/test_database_access.py index 176f14230..b7cf2bb2a 100644 --- a/tests/database/test_database_access.py +++ b/tests/database/test_database_access.py @@ -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): """