Mercurial > hg
diff tests/test-check-py3-compat.t @ 28934:c4040a35b5d9
tests: make test-trusted use print_function
There was some confusing output format at some places in
test-trusted.py.out, the new print function ends with a newline by
default whereas the old print statement uses a space generally. So the
output in test-trusted.py.out is changed because of some confusing
output format which was produced by print statement
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 16 Apr 2016 04:06:24 +0530 |
parents | 6262f0215d08 |
children | 05cb9c6f310e |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Sat Apr 16 03:38:23 2016 +0530 +++ b/tests/test-check-py3-compat.t Sat Apr 16 04:06:24 2016 +0530 @@ -55,7 +55,6 @@ tests/test-atomictempfile.py not using absolute_import tests/test-demandimport.py not using absolute_import tests/test-demandimport.py requires print_function - tests/test-trusted.py requires print_function #if py3exe $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py @@ -188,6 +187,5 @@ mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) - tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) #endif