change: sync changes from v3.1.10

This commit is contained in:
debugtalk
2022-04-18 14:48:09 +08:00
parent 6e4da54250
commit d8b6c40861
2 changed files with 2 additions and 1 deletions

View File

@@ -172,7 +172,7 @@ def format_pytest_with_black(*python_paths: Text):
capture_exception(ex)
logger.error(ex)
sys.exit(1)
except FileNotFoundError:
except OSError:
err_msg = """
missing dependency tool: black
install black manually and try again: