We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1d1b84 commit 77fccd4Copy full SHA for 77fccd4
llvm/utils/lit/lit/TestRunner.py
@@ -732,7 +732,7 @@ def _replaceReadFile(match):
732
try:
733
with open(filePath) as fileHandle:
734
return fileHandle.read()
735
- except FileNotFoundError as error:
+ except FileNotFoundError:
736
raise InternalShellError(cmd, "File does not exist: %s" % filePath)
737
738
arguments[i] = re.sub(r"%{readfile:([^}]*)}", _replaceReadFile, arg)
0 commit comments