This is an archive of the discontinued LLVM Phabricator instance.

Make `print` behave in Python 2 as in Python 3.
AbandonedPublic

Authored by vsapsai on Nov 12 2019, 1:23 PM.

Details

Reviewers
azharudd
Summary

Currently the test "jenkins/test_monorepo_build.py" fails with Python 2 because
it expects the code print("@@@", name, "@@@") to print @@@ Build Directory @@@
while Python 2.7 treats the expression in parenthesis as a tuple and
prints ('@@@', 'Build Directory', '@@@')

Diff Detail

Event Timeline

vsapsai created this revision.Nov 12 2019, 1:23 PM
vsapsai abandoned this revision.Jul 30 2020, 12:45 PM