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