Skip to content

Commit 69e19b8

Browse files
authored
Fix SyntaxError with print
1 parent 87c27a0 commit 69e19b8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/java/check-tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def parse_file(self, fname, prefix = ""):
157157
parser.parse(x)
158158
funcs = parser.get_not_tested()
159159
if funcs:
160-
print "NOT TESTED methods:\n\t", "\n\t".join(sorted(funcs))
161-
print "Total methods found: %i (%i)" % parser.get_funcs_count()
162-
print "Not tested methods found:", len(funcs)
163-
print "Total tests found:", parser.get_tests_count()
164-
print "Empty test stubs found:", parser.get_empty_stubs_count()
160+
print ('{} {}'.format("NOT TESTED methods:\n\t", "\n\t".join(sorted(funcs))))
161+
print ("Total methods found: %i (%i)" % parser.get_funcs_count())
162+
print ('{} {}'.format("Not tested methods found:", len(funcs)))
163+
print ('{} {}'.format("Total tests found:", parser.get_tests_count()))
164+
print ('{} {}'.format("Empty test stubs found:", parser.get_empty_stubs_count()))

0 commit comments

Comments
 (0)