Mercurial > hg
comparison tests/test-check-py3-compat.t @ 28971:bacca31f4835
py3: make factotum use absolute_import
check-code complains for using urllib2 so that too was fixed.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 17 Apr 2016 02:29:33 +0530 |
parents | 4f86c3bed63b |
children | a39341452647 |
comparison
equal
deleted
inserted
replaced
28970:4f86c3bed63b | 28971:bacca31f4835 |
---|---|
1 #require test-repo | 1 #require test-repo |
2 | 2 |
3 $ cd "$TESTDIR"/.. | 3 $ cd "$TESTDIR"/.. |
4 | 4 |
5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py | 5 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py |
6 hgext/factotum.py not using absolute_import | |
7 hgext/fetch.py not using absolute_import | 6 hgext/fetch.py not using absolute_import |
8 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import | 7 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import |
9 hgext/fsmonitor/pywatchman/__init__.py requires print_function | 8 hgext/fsmonitor/pywatchman/__init__.py requires print_function |
10 hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import | 9 hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import |
11 hgext/fsmonitor/pywatchman/pybser.py not using absolute_import | 10 hgext/fsmonitor/pywatchman/pybser.py not using absolute_import |
70 hgext/convert/p*.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) | 69 hgext/convert/p*.py: error importing module: <SystemError> Parent module 'hgext.convert' not loaded, cannot perform relative import (line *) (glob) |
71 hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) | 70 hgext/convert/subversion.py: error importing module: <ImportError> No module named 'cPickle' (line *) (glob) |
72 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob) | 71 hgext/convert/transport.py: error importing module: <ImportError> No module named 'svn.client' (line *) (glob) |
73 hgext/eol.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) | 72 hgext/eol.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) |
74 hgext/extdiff.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob) | 73 hgext/extdiff.py: error importing module: <SyntaxError> invalid syntax (archival.py, line *) (line *) (glob) |
75 hgext/factotum.py: error importing: <ImportError> No module named 'httplib' (error at url.py:*) (glob) | 74 hgext/factotum.py: error importing: <ImportError> No module named 'httplib' (error at __init__.py:*) (glob) |
76 hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) | 75 hgext/fetch.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) |
77 hgext/fsmonitor/watchmanclient.py: error importing module: <SystemError> Parent module 'hgext.fsmonitor' not loaded, cannot perform relative import (line *) (glob) | 76 hgext/fsmonitor/watchmanclient.py: error importing module: <SystemError> Parent module 'hgext.fsmonitor' not loaded, cannot perform relative import (line *) (glob) |
78 hgext/gpg.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) | 77 hgext/gpg.py: error importing module: <SyntaxError> invalid syntax (commands.py, line *) (line *) (glob) |
79 hgext/graphlog.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) | 78 hgext/graphlog.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) |
80 hgext/hgcia.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) | 79 hgext/hgcia.py: error importing: <AttributeError> 'dict' object has no attribute 'iteritems' (error at revset.py:*) (glob) |