| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9ef9ca6 commit a6c7dba
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1308,6 +1308,7 @@ def _do_base_tests(self, rwrepo): | |||
| 1308 | 1308 | ||
| 1309 | 1309 | # Now delete only the module of the main submodule. | |
| 1310 | 1310 | assert sm.module_exists() | |
| 1311 | + csm.repo.close() | ||
| 1311 | 1312 | sm.remove(configuration=False, force=True) | |
| 1312 | 1313 | assert sm.exists() | |
| 1313 | 1314 | assert not sm.module_exists() | |
@@ -1410,13 +1411,6 @@ def _do_base_tests(self, rwrepo): | |||
| 1410 | 1411 | True, | |
| 1411 | 1412 | ) | |
| 1412 | 1413 | ||
| 1413 | - # ACTUALLY skipped by git.util.rmtree (in local onerror function), called via | ||
| 1414 | - # git.objects.submodule.base.Submodule.remove at "method(mp)", line 1011. | ||
| 1415 | - # | ||
| 1416 | - # @skipIf(sys.platform == "win32", | ||
| 1417 | - # "FIXME: fails with: PermissionError: [WinError 32] The process cannot access the file because" | ||
| 1418 | - # "it is being used by another process: " | ||
| 1419 | - # "'C:\\Users\\ankostis\\AppData\\Local\\Temp\\tmp95c3z83bnon_bare_test_base_rw\\git\\ext\\gitdb\\gitdb\\ext\\smmap'") # noqa: E501 | ||
| 1420 | 1414 | @with_rw_repo(k_subm_current) | |
| 1421 | 1415 | def test_base_rw(self, rwrepo): | |
| 1422 | 1416 | self._do_base_tests(rwrepo) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments