| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e24f9b7 commit 67d0631
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,8 +3,6 @@ | |||
| 3 | 3 | import logging | |
| 4 | 4 | import os | |
| 5 | 5 | import stat | |
| 6 | - | ||
| 7 | - from unittest import SkipTest | ||
| 8 | 6 | import uuid | |
| 9 | 7 | ||
| 10 | 8 | import git | |
@@ -934,6 +932,7 @@ def remove(self, module: bool = True, force: bool = False, | |||
| 934 | 932 | rmtree(str(wtd)) | |
| 935 | 933 | except Exception as ex: | |
| 936 | 934 | if HIDE_WINDOWS_KNOWN_ERRORS: | |
| 935 | + from unittest import SkipTest | ||
| 937 | 936 | raise SkipTest("FIXME: fails with: PermissionError\n {}".format(ex)) from ex | |
| 938 | 937 | raise | |
| 939 | 938 | # END delete tree if possible | |
@@ -945,6 +944,7 @@ def remove(self, module: bool = True, force: bool = False, | |||
| 945 | 944 | rmtree(git_dir) | |
| 946 | 945 | except Exception as ex: | |
| 947 | 946 | if HIDE_WINDOWS_KNOWN_ERRORS: | |
| 947 | + from unittest import SkipTest | ||
| 948 | 948 | raise SkipTest(f"FIXME: fails with: PermissionError\n {ex}") from ex | |
| 949 | 949 | else: | |
| 950 | 950 | raise | |
| Back | FazBrowse Home | New Git URL |
0 commit comments