comparison 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
comparison
equal deleted inserted replaced
28933:6262f0215d08 28934:c4040a35b5d9
53 tests/svn-safe-append.py not using absolute_import 53 tests/svn-safe-append.py not using absolute_import
54 tests/svnxml.py not using absolute_import 54 tests/svnxml.py not using absolute_import
55 tests/test-atomictempfile.py not using absolute_import 55 tests/test-atomictempfile.py not using absolute_import
56 tests/test-demandimport.py not using absolute_import 56 tests/test-demandimport.py not using absolute_import
57 tests/test-demandimport.py requires print_function 57 tests/test-demandimport.py requires print_function
58 tests/test-trusted.py requires print_function
59 58
60 #if py3exe 59 #if py3exe
61 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py 60 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py
62 contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob) 61 contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob)
63 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) 62 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
186 mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob) 185 mercurial/win*.py: error importing module: <ImportError> No module named 'msvcrt' (line *) (glob)
187 mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob) 186 mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line *) (glob)
188 mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) 187 mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob)
189 tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) 188 tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
190 tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) 189 tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
191 tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob)
192 190
193 #endif 191 #endif