# HG changeset patch # User FUJIWARA Katsunori # Date 2016-08-08 17:28:34 # Node ID 297a0dc503208b42efa928bf6f2287aa141d9fe4 # Parent 155f0cc3f81354f3dd43607b885c7b46b738824e 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. diff --git a/tests/test-check-py3-compat.t b/tests/test-check-py3-compat.t --- a/tests/test-check-py3-compat.t +++ b/tests/test-check-py3-compat.t @@ -136,7 +136,7 @@ mercurial/patch.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/pathutil.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) mercurial/peer.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob) - mercurial/pure/mpatch.py: error importing module: cannot import name 'pycompat' (line *) (glob) + mercurial/pure/mpatch.py: error importing module: cannot import name 'policy' (line *) (glob) mercurial/pure/osutil.py: error importing module: cannot import name 'policy' (line *) (glob) mercurial/pure/parsers.py: error importing module: No module named 'mercurial.pure.node' (line *) (glob) mercurial/pushkey.py: error importing: getattr(): attribute name must be string (error at pycompat.py:*) (glob)