| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6881712 commit bdaf1dc
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1419,6 +1419,7 @@ def _do_base_tests(self, rwrepo): | |||
| 1419 | 1419 | ||
| 1420 | 1420 | # Now delete only the module of the main submodule. | |
| 1421 | 1421 | assert sm.module_exists() | |
| 1422 | + csm.repo.close() | ||
| 1422 | 1423 | sm.remove(configuration=False, force=True) | |
| 1423 | 1424 | assert sm.exists() | |
| 1424 | 1425 | assert not sm.module_exists() | |
@@ -1521,13 +1522,6 @@ def _do_base_tests(self, rwrepo): | |||
| 1521 | 1522 | True, | |
| 1522 | 1523 | ) | |
| 1523 | 1524 | ||
| 1524 | - # ACTUALLY skipped by git.util.rmtree (in local onerror function), called via | ||
| 1525 | - # git.objects.submodule.base.Submodule.remove at "method(mp)", line 1011. | ||
| 1526 | - # | ||
| 1527 | - # @skipIf(sys.platform == "win32", | ||
| 1528 | - # "FIXME: fails with: PermissionError: [WinError 32] The process cannot access the file because" | ||
| 1529 | - # "it is being used by another process: " | ||
| 1530 | - # "'C:\\Users\\ankostis\\AppData\\Local\\Temp\\tmp95c3z83bnon_bare_test_base_rw\\git\\ext\\gitdb\\gitdb\\ext\\smmap'") # noqa: E501 | ||
| 1531 | 1525 | @with_rw_repo(k_subm_current) | |
| 1532 | 1526 | def test_base_rw(self, rwrepo): | |
| 1533 | 1527 | self._do_base_tests(rwrepo) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments