##// END OF EJS Templates
debugbundle: add --part-type flag to emit only named part types...
debugbundle: add --part-type flag to emit only named part types This removes the need in the tests for grep -A, which is not supported on Solaris.

File last commit:

r32522:9ed70525 default
r32694:3ef319e9 default
Show More
test-check-py3-compat.t
44 lines | 2.7 KiB | text/troff | Tads3Lexer
/ tests / test-check-py3-compat.t
Gregory Szorc
tests: add test for Python 3 compatibility...
r27279 #require test-repo
timeless
tests: silence test-repo obsolete warning...
r29219 $ . "$TESTDIR/helpers-testrepo.sh"
Gregory Szorc
tests: add test for Python 3 compatibility...
r27279 $ cd "$TESTDIR"/..
Matt Harbison
tests: convert directory separators to '/' for MSYS in test-check-py-compat...
r27438 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
Gregory Szorc
zstd: vendor python-zstandard 0.5.0...
r30435 contrib/python-zstandard/setup.py not using absolute_import
contrib/python-zstandard/setup_zstd.py not using absolute_import
contrib/python-zstandard/tests/common.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.8.0...
r31796 contrib/python-zstandard/tests/test_buffer_util.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.5.0...
r30435 contrib/python-zstandard/tests/test_compressor.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.8.0...
r31796 contrib/python-zstandard/tests/test_compressor_fuzzing.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.5.0...
r30435 contrib/python-zstandard/tests/test_data_structures.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.8.0...
r31796 contrib/python-zstandard/tests/test_data_structures_fuzzing.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.5.0...
r30435 contrib/python-zstandard/tests/test_decompressor.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.8.0...
r31796 contrib/python-zstandard/tests/test_decompressor_fuzzing.py not using absolute_import
Gregory Szorc
zstd: vendor python-zstandard 0.5.0...
r30435 contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import
contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import
contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import
Gregory Szorc
tests: add test for Python 3 compatibility...
r27279 i18n/check-translation.py not using absolute_import
setup.py not using absolute_import
tests/test-demandimport.py not using absolute_import
Gregory Szorc
tests: perform an ast parse with Python 3...
r28583
#if py3exe
Pulkit Goyal
py3: exclude pywatchman from test-check-py3-compat.t...
r30673 $ hg files 'set:(**.py) - grep(pygments)' -X hgext/fsmonitor/pywatchman \
> | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py \
Yuya Nishihara
py3: automatically glob out line numbers from check-py3-compat output...
r29810 > | sed 's/[0-9][0-9]*)$/*)/'
Martin von Zweigbergk
tests: allow ModuleNotFoundError in addition to ImportError...
r31480 hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob)
Pulkit Goyal
py3: update test-check-py3-compat.t
r32522 mercurial/cffi/bdiff.py: error importing: <ImportError> cannot import name '_bdiff' (error at bdiff.py:*)
mercurial/cffi/bdiffbuild.py: error importing: <ImportError> No module named 'cffi' (error at bdiffbuild.py:*)
mercurial/cffi/mpatch.py: error importing: <ImportError> cannot import name '_mpatch' (error at mpatch.py:*)
mercurial/cffi/mpatchbuild.py: error importing: <ImportError> No module named 'cffi' (error at mpatchbuild.py:*)
mercurial/cffi/osutilbuild.py: error importing: <ImportError> No module named 'cffi' (error at osutilbuild.py:*)
Martin von Zweigbergk
tests: allow ModuleNotFoundError in addition to ImportError...
r31480 mercurial/scmwindows.py: error importing: <*Error> No module named 'msvcrt' (error at win32.py:*) (glob)
mercurial/win32.py: error importing: <*Error> No module named 'msvcrt' (error at win32.py:*) (glob)
mercurial/windows.py: error importing: <*Error> No module named 'msvcrt' (error at windows.py:*) (glob)
Gregory Szorc
tests: perform an ast parse with Python 3...
r28583
#endif
Augie Fackler
py3: split check of pygments-using files from the rest of the tree...
r29886
#if py3exe py3pygments
$ hg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \
> | xargs $PYTHON3 contrib/check-py3-compat.py \
> | sed 's/[0-9][0-9]*)$/*)/'
#endif