Mercurial > hg-stable
changeset 29762:297a0dc50320
py3: update output of check-py3-compat.py with python3
Recent work on mercurial/pure/mpatch.py made it import
mercurial.policy, and changed output of check-py3-compat.py with
python3 in test-check-py3-compat.t. But test-check-py3-compat.t isn't
yet updated.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Tue, 09 Aug 2016 02:28:34 +0900 |
parents | 155f0cc3f813 |
children | 8faac092bb0c |
files | tests/test-check-py3-compat.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Sun Aug 07 10:06:56 2016 +0900 +++ b/tests/test-check-py3-compat.t Tue Aug 09 02:28:34 2016 +0900 @@ -136,7 +136,7 @@ mercurial/patch.py: error importing: <TypeError> getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/pathutil.py: error importing: <TypeError> getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/peer.py: error importing: <TypeError> getattr(): attribute name must be string (error at pycompat.py:*) (glob) - mercurial/pure/mpatch.py: error importing module: <ImportError> cannot import name 'pycompat' (line *) (glob) + mercurial/pure/mpatch.py: error importing module: <ImportError> cannot import name 'policy' (line *) (glob) mercurial/pure/osutil.py: error importing module: <ImportError> cannot import name 'policy' (line *) (glob) mercurial/pure/parsers.py: error importing module: <ImportError> No module named 'mercurial.pure.node' (line *) (glob) mercurial/pushkey.py: error importing: <TypeError> getattr(): attribute name must be string (error at pycompat.py:*) (glob)