| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 35e302d commit e24f9b7
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -20,7 +20,6 @@ | |||
| 20 | 20 | import stat | |
| 21 | 21 | from sys import maxsize | |
| 22 | 22 | import time | |
| 23 | - from unittest import SkipTest | ||
| 24 | 23 | from urllib.parse import urlsplit, urlunsplit | |
| 25 | 24 | import warnings | |
| 26 | 25 | ||
@@ -130,6 +129,7 @@ def onerror(func: Callable, path: PathLike, exc_info: str) -> None: | |||
| 130 | 129 | func(path) # Will scream if still not possible to delete. | |
| 131 | 130 | except Exception as ex: | |
| 132 | 131 | if HIDE_WINDOWS_KNOWN_ERRORS: | |
| 132 | + from unittest import SkipTest | ||
| 133 | 133 | raise SkipTest("FIXME: fails with: PermissionError\n {}".format(ex)) from ex | |
| 134 | 134 | raise | |
| 135 | 135 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments