Mercurial > hg-stable
diff tests/test-check-py3-compat.t @ 30676:81bf1a686b99
py3: exclude pywatchman from test-check-py3-compat.t
Exclude pywatchman from py3 test. They have already worked on Python 3
compatibility https://github.com/facebook/watchman/pull/247
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 25 Dec 2016 02:42:46 +0530 |
parents | 0eb4b3d38d5f |
children | c32454d69b85 |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Sun Dec 25 02:34:19 2016 +0530 +++ b/tests/test-check-py3-compat.t Sun Dec 25 02:42:46 2016 +0530 @@ -20,15 +20,11 @@ tests/test-demandimport.py not using absolute_import #if py3exe - $ hg files 'set:(**.py) - grep(pygments)' | sed 's|\\|/|g' \ - > | xargs $PYTHON3 contrib/check-py3-compat.py \ + $ hg files 'set:(**.py) - grep(pygments)' -X hgext/fsmonitor/pywatchman \ + > | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py \ > | sed 's/[0-9][0-9]*)$/*)/' hgext/convert/transport.py: error importing: <ImportError> No module named 'svn.client' (error at transport.py:*) - hgext/fsmonitor/pywatchman/capabilities.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*) - hgext/fsmonitor/pywatchman/compat.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*) - hgext/fsmonitor/pywatchman/encoding.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*) - hgext/fsmonitor/pywatchman/load.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*) - hgext/fsmonitor/pywatchman/pybser.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*) + hgext/fsmonitor/state.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*) hgext/fsmonitor/watchmanclient.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*) mercurial/cffi/bdiff.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*) mercurial/cffi/mpatch.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)