[llvm] r372392 - [Testing] Python 3 requires `print` to use parens
David Zarzycki via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 06:52:47 PDT 2019
Author: davezarzycki
Date: Fri Sep 20 06:52:47 2019
New Revision: 372392
URL: http://llvm.org/viewvc/llvm-project?rev=372392&view=rev
Log:
[Testing] Python 3 requires `print` to use parens
Modified:
llvm/trunk/test/Reduce/Inputs/remove-instructions.py
Modified: llvm/trunk/test/Reduce/Inputs/remove-instructions.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Reduce/Inputs/remove-instructions.py?rev=372392&r1=372391&r2=372392&view=diff
==============================================================================
--- llvm/trunk/test/Reduce/Inputs/remove-instructions.py (original)
+++ llvm/trunk/test/Reduce/Inputs/remove-instructions.py Fri Sep 20 06:52:47 2019
@@ -9,7 +9,7 @@ for line in input:
line = line[:i]
if "%interesting" in line:
InterestingInstructions += 1
- print InterestingInstructions
+ print(InterestingInstructions)
if InterestingInstructions == 5:
sys.exit(0) # interesting!
More information about the llvm-commits
mailing list