tests/test-check-py3-compat.t
changeset 39401 0cbcf962847e
parent 39386 2df3271ef139
child 39402 ecbab8be7470
equal deleted inserted replaced
39400:213c0493cea0 39401:0cbcf962847e
     1 #require test-repo
     1 #require test-repo
     2 
     2 
     3   $ . "$TESTDIR/helpers-testrepo.sh"
     3   $ . "$TESTDIR/helpers-testrepo.sh"
     4   $ cd "$TESTDIR"/..
     4   $ cd "$TESTDIR"/..
     5 
     5 
       
     6 #if no-py3k
     6   $ testrepohg files 'set:(**.py)' \
     7   $ testrepohg files 'set:(**.py)' \
     7   > -X hgdemandimport/demandimportpy2.py \
     8   > -X hgdemandimport/demandimportpy2.py \
     8   > -X mercurial/thirdparty/cbor \
     9   > -X mercurial/thirdparty/cbor \
     9   > | sed 's|\\|/|g' | xargs $PYTHON contrib/check-py3-compat.py
    10   > | sed 's|\\|/|g' | xargs $PYTHON contrib/check-py3-compat.py
    10   contrib/python-zstandard/setup.py not using absolute_import
    11   contrib/python-zstandard/setup.py not using absolute_import
    19   contrib/python-zstandard/tests/test_decompressor_fuzzing.py not using absolute_import
    20   contrib/python-zstandard/tests/test_decompressor_fuzzing.py not using absolute_import
    20   contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import
    21   contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import
    21   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
    22   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
    23   setup.py not using absolute_import
    24   setup.py not using absolute_import
       
    25 #endif
    24 
    26 
    25 #if py3exe
    27 #if py3exe
    26   $ testrepohg files 'set:(**.py) - grep(pygments)' \
    28   $ testrepohg files 'set:(**.py) - grep(pygments)' \
    27   > -X hgdemandimport/demandimportpy2.py \
    29   > -X hgdemandimport/demandimportpy2.py \
    28   > -X hgext/fsmonitor/pywatchman \
    30   > -X hgext/fsmonitor/pywatchman \