tests/test-check-py3-compat.t
changeset 39402 ecbab8be7470
parent 39401 0cbcf962847e
child 39707 5abc47d4ca6b
equal deleted inserted replaced
39401:0cbcf962847e 39402:ecbab8be7470
    22   contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import
    22   contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import
    23   contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import
    23   contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import
    24   setup.py not using absolute_import
    24   setup.py not using absolute_import
    25 #endif
    25 #endif
    26 
    26 
    27 #if py3exe
    27 #if py3k
    28   $ testrepohg files 'set:(**.py) - grep(pygments)' \
    28   $ testrepohg files 'set:(**.py) - grep(pygments)' \
    29   > -X hgdemandimport/demandimportpy2.py \
    29   > -X hgdemandimport/demandimportpy2.py \
    30   > -X hgext/fsmonitor/pywatchman \
    30   > -X hgext/fsmonitor/pywatchman \
    31   > -X mercurial/cffi \
    31   > -X mercurial/cffi \
    32   > -X mercurial/thirdparty \
    32   > -X mercurial/thirdparty \
    33   > | sed 's|\\|/|g' | xargs python3 contrib/check-py3-compat.py \
    33   > | sed 's|\\|/|g' | xargs $PYTHON contrib/check-py3-compat.py \
    34   > | sed 's/[0-9][0-9]*)$/*)/'
    34   > | sed 's/[0-9][0-9]*)$/*)/'
    35   hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob) (?)
    35   hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob) (?)
    36   hgext/infinitepush/sqlindexapi.py: error importing: <*Error> No module named 'mysql' (error at sqlindexapi.py:*) (glob) (?)
    36   hgext/infinitepush/sqlindexapi.py: error importing: <*Error> No module named 'mysql' (error at sqlindexapi.py:*) (glob) (?)
    37   mercurial/scmwindows.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
    37   mercurial/scmwindows.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
    38   mercurial/win32.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
    38   mercurial/win32.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
    39   mercurial/windows.py: error importing: <ModuleNotFoundError> No module named 'msvcrt' (error at windows.py:*) (no-windows !)
    39   mercurial/windows.py: error importing: <ModuleNotFoundError> No module named 'msvcrt' (error at windows.py:*) (no-windows !)
    40 
    40 
    41 #endif
    41 #endif
    42 
    42 
    43 #if py3exe py3pygments
    43 #if py3k pygments
    44   $ testrepohg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \
    44   $ testrepohg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \
    45   > | xargs python3 contrib/check-py3-compat.py \
    45   > | xargs $PYTHON contrib/check-py3-compat.py \
    46   > | sed 's/[0-9][0-9]*)$/*)/'
    46   > | sed 's/[0-9][0-9]*)$/*)/'
    47 #endif
    47 #endif