Mercurial > hg
changeset 28643:392a7e7e97d3
tests: glob py3 line numbers
Since not everyone is running py3.5 and code changes periodically,
avoid pinning line numbers for invalid syntax errors.
author | timeless <timeless@mozdev.org> |
---|---|
date | Mon, 28 Mar 2016 03:40:30 +0000 |
parents | cfbae6c8ad5a |
children | 2e50eb6304bd |
files | tests/test-check-py3-compat.t |
diffstat | 1 files changed, 46 insertions(+), 46 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Mon Mar 28 03:35:08 2016 +0000 +++ b/tests/test-check-py3-compat.t Mon Mar 28 03:40:30 2016 +0000 @@ -121,11 +121,11 @@ #if py3exe $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py - contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position 18-19: malformed \N character escape (<unknown>, line 106) - contrib/import-checker.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 569) - doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line 286) + contrib/check-code.py: invalid syntax: (unicode error) 'unicodeescape' codec can't decode bytes in position *-*: malformed \N character escape (<unknown>, line *) (glob) + contrib/import-checker.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) hgext/acl.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) - hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line 3324) (line 29) + hgext/automv.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) hgext/blackbox.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/bugzilla.py: error importing module: <ImportError> No module named 'urlparse' (line 284) hgext/censor.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) @@ -133,7 +133,7 @@ hgext/children.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/churn.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/clonebundles.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) - hgext/color.py: invalid syntax: invalid syntax (<unknown>, line 551) + hgext/color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) hgext/convert/bzr.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line 18) hgext/convert/common.py: error importing module: <ImportError> No module named 'cPickle' (line 10) hgext/convert/convcmd.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) @@ -151,7 +151,7 @@ hgext/eol.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) hgext/extdiff.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/factotum.py: error importing: <ImportError> No module named 'cStringIO' (error at url.py:13) - hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line 3324) (line 12) + hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) hgext/fsmonitor/state.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) hgext/gpg.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) @@ -159,7 +159,7 @@ hgext/hgcia.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/hgk.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/highlight/highlight.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) - hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle2.py, line 977) (line 177) + hgext/histedit.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) hgext/keyword.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) hgext/largefiles/basestore.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) hgext/largefiles/lfcommands.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) @@ -169,7 +169,7 @@ hgext/largefiles/proto.py: error importing module: <ImportError> No module named 'urllib2' (line 7) hgext/largefiles/remotestore.py: error importing module: <ImportError> No module named 'urllib2' (line 9) hgext/largefiles/reposetup.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) - hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line 234) (line 11) + hgext/largefiles/uisetup.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob) hgext/largefiles/wirestore.py: error importing module: <ImportError> No module named 'lfutil' (line 8) hgext/mq.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) hgext/notify.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) @@ -181,20 +181,20 @@ hgext/relink.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/schemes.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) hgext/share.py: error importing: <ImportError> No module named 'cStringIO' (error at cmdutil.py:10) - hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle2.py, line 977) (line 28) + hgext/shelve.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) hgext/strip.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) - hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle2.py, line 977) (error at bundlerepo.py:23) + hgext/transplant.py: error importing: <SyntaxError> invalid syntax (bundle*.py, line *) (error at bundlerepo.py:*) (glob) hgext/win32text.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) - mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line 234) + mercurial/archival.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) mercurial/bookmarks.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) mercurial/branchmap.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:10) - mercurial/bundle2.py: invalid syntax: invalid syntax (<unknown>, line 977) - mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle2.py, line 977) (line 23) + mercurial/bundle*.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + mercurial/bundlerepo.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) mercurial/byterange.py: error importing module: <ImportError> No module named 'urllib2' (line 30) mercurial/changegroup.py: error importing: <ImportError> No module named 'Queue' (error at scmutil.py:10) mercurial/changelog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:10) mercurial/cmdutil.py: error importing module: <ImportError> No module named 'cStringIO' (line 10) - mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line 3324) + mercurial/commands.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) mercurial/commandserver.py: error importing module: <ImportError> No module named 'SocketServer' (line 10) mercurial/config.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) mercurial/context.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) @@ -245,7 +245,7 @@ mercurial/pushkey.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) mercurial/pvec.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) mercurial/registrar.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) - mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle2.py, line 977) (line 15) + mercurial/repair.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) mercurial/repoview.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) mercurial/revlog.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:10) mercurial/revset.py: error importing: <ImportError> No module named 'cStringIO' (error at parsers.py:10) @@ -273,36 +273,36 @@ mercurial/verify.py: error importing: <ImportError> No module named 'cStringIO' (error at mpatch.py:10) mercurial/win32.py: error importing module: <ImportError> No module named 'msvcrt' (line 12) mercurial/windows.py: error importing module: <ImportError> No module named '_winreg' (line 10) - mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle2.py, line 977) (line 22) - tests/filterpyflakes.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 61) - tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 69) - tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 44) - tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line 7) - tests/seq.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 23) - tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 11) - tests/test-ancestor.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 187) - tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line 34) - tests/test-bdiff.py: invalid syntax: invalid syntax (<unknown>, line 10) - tests/test-context.py: invalid syntax: invalid syntax (<unknown>, line 21) - tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line 26) - tests/test-duplicateoptions.py: invalid syntax: invalid syntax (<unknown>, line 34) - tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 23) - tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 33) - tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line 4) - tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line 24) - tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line 5) - tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line 6) - tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 6) - tests/test-parseindex2.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 173) - tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 50) - tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 49) - tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 8) - tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line 60) - tests/test-ui-color.py: invalid syntax: invalid syntax (<unknown>, line 11) - tests/test-ui-config.py: invalid syntax: invalid syntax (<unknown>, line 32) - tests/test-ui-verbosity.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 9) - tests/test-walkrepo.py: invalid syntax: invalid syntax (<unknown>, line 37) - tests/test-wireproto.py: invalid syntax: invalid syntax (<unknown>, line 55) - tests/tinyproxy.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line 53) + mercurial/wireproto.py: error importing module: <SyntaxError> invalid syntax (bundle*.py, line *) (line *) (glob) + tests/filterpyflakes.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/generate-working-copy-states.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/get-with-headers.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/readlink.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/seq.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/silenttestrunner.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-ancestor.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-batching.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-bdiff.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-context.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-demandimport.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-duplicateoptions.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-filecache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-filelog.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-hg-parseurl.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-hgweb-auth.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-hybridencode.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-lrucachedict.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-minirst.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-parseindex*.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-propertycache.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-revlog-ancestry.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-status-inprocess.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-trusted.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-ui-color.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-ui-config.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-ui-verbosity.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) + tests/test-walkrepo.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/test-wireproto.py: invalid syntax: invalid syntax (<unknown>, line *) (glob) + tests/tinyproxy.py: invalid syntax: Missing parentheses in call to 'print' (<unknown>, line *) (glob) #endif