fix win tests ci

This commit is contained in:
Paul Gauthier 2024-08-20 07:57:41 -07:00
parent 821eae16ae
commit ccf77e874d

View file

@ -98,6 +98,7 @@ class TestRepoMap(unittest.TestCase):
# close the open cache files, so Windows won't error # close the open cache files, so Windows won't error
del repo_map del repo_map
del repo
def test_repo_map_refresh_auto(self): def test_repo_map_refresh_auto(self):
with GitTemporaryDirectory() as temp_dir: with GitTemporaryDirectory() as temp_dir:
@ -154,6 +155,7 @@ class TestRepoMap(unittest.TestCase):
# close the open cache files, so Windows won't error # close the open cache files, so Windows won't error
del repo_map del repo_map
del repo
def test_get_repo_map_with_identifiers(self): def test_get_repo_map_with_identifiers(self):
# Create a temporary directory with a sample Python file containing identifiers # Create a temporary directory with a sample Python file containing identifiers