Mercurial > public > mercurial-scm > hg
diff tests/test-inherit-mode.t @ 33721:24849d53697d
tests: clean up many print statements to be print functions instead
Differential Revision: https://phab.mercurial-scm.org/D294
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Jun 2017 14:22:25 -0400 |
parents | 1bdafe1111ce |
children | 266192d4666b |
line wrap: on
line diff
--- a/tests/test-inherit-mode.t Thu Jun 15 13:32:32 2017 -0400 +++ b/tests/test-inherit-mode.t Thu Jun 15 14:22:25 2017 -0400 @@ -25,13 +25,13 @@ > allnames.sort() > for name in allnames: > suffix = name in isdir and '/' or '' - > print '%05o %s%s' % (os.lstat(name).st_mode & 07777, name, suffix) + > print('%05o %s%s' % (os.lstat(name).st_mode & 07777, name, suffix)) > EOF $ cat >mode.py <<EOF > import sys > import os - > print '%05o' % os.lstat(sys.argv[1]).st_mode + > print('%05o' % os.lstat(sys.argv[1]).st_mode) > EOF $ umask 077