Skip to content

Commit c670989

Browse files
committed
test: ignore errors if remove cache dir
1 parent a4b8fbb commit c670989

File tree

1 file changed

+1
-1
lines changed
  • tests/robotcode/language_server/robotframework/parts

1 file changed

+1
-1
lines changed

tests/robotcode/language_server/robotframework/parts/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def protocol(request: Any) -> AsyncIterator[RobotLanguageServerProtocol]:
3636
robotcode_cache_path = root_path / ".robotcode_cache"
3737

3838
if robotcode_cache_path.exists():
39-
shutil.rmtree(robotcode_cache_path)
39+
shutil.rmtree(robotcode_cache_path, ignore_errors=True)
4040

4141
server = RobotLanguageServer()
4242
try:

0 commit comments

Comments
 (0)