From 6b3342a150a739079dba77d844e521ccb1c27e62 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 2 Nov 2023 16:20:04 -0700 Subject: [PATCH] really cleanup for winsows --- tests/test_commands.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/test_commands.py b/tests/test_commands.py index 2e7cfdd36..f33d5a441 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -459,4 +459,12 @@ class TestCommands(TestCase): self.assertEqual(commit, repo.head.commit.hexsha) + # Windows is throwing: + # PermissionError: [WinError 32] The process cannot access + # the file because it is being used by another process + repo.git.commit("-m", "cleanup") + + del coder + del commands + del repo