py3: update output of check-py3-compat.py with python3
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Tue, 09 Aug 2016 02:28:34 +0900
changeset 29750 297a0dc50320
parent 29749 155f0cc3f813
child 29751 8faac092bb0c
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.
tests/test-check-py3-compat.t
--- 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)