##// END OF EJS Templates
tests: exclude bundled pywatchman from test-check-pyflakes...
tests: exclude bundled pywatchman from test-check-pyflakes The code under pywatchman used to be excluded from test-check-code and test-check-pyflakes through the magic string "no-check-code". Now that test-check-code excludes the pywatchman directory entirely, the directory should also be excluded from test-check-pyflakes.

File last commit:

r30570:c4c51fd0 default
r30655:f35397fe default
Show More
test-check-py3-compat.t
47 lines | 2.9 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
contrib/python-zstandard/tests/test_cffi.py not using absolute_import
contrib/python-zstandard/tests/test_compressor.py not using absolute_import
contrib/python-zstandard/tests/test_data_structures.py not using absolute_import
contrib/python-zstandard/tests/test_decompressor.py not using absolute_import
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_roundtrip.py not using absolute_import
contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import
Martijn Pieters
fsmonitor: dependencies for new experimental extension...
r28432 hgext/fsmonitor/pywatchman/__init__.py not using absolute_import
hgext/fsmonitor/pywatchman/__init__.py requires print_function
hgext/fsmonitor/pywatchman/capabilities.py not using absolute_import
hgext/fsmonitor/pywatchman/pybser.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
Augie Fackler
py3: split check of pygments-using files from the rest of the tree...
r29886 $ hg files 'set:(**.py) - grep(pygments)' | sed 's|\\|/|g' \
Yuya Nishihara
py3: automatically glob out line numbers from check-py3-compat output...
r29810 > | xargs $PYTHON3 contrib/check-py3-compat.py \
> | sed 's/[0-9][0-9]*)$/*)/'
Mateusz Kwapich
py3: use raw strings in line continuation (convert ext)...
r30132 hgext/convert/transport.py: error importing: <ImportError> No module named 'svn.client' (error at transport.py:*)
Yuya Nishihara
py3: make check-py3-compat.py load modules in standard manner...
r30094 hgext/fsmonitor/pywatchman/capabilities.py: error importing: <ImportError> No module named 'pybser' (error at __init__.py:*)
hgext/fsmonitor/pywatchman/pybser.py: error importing: <ImportError> No module named 'pybser' (error at __init__.py:*)
hgext/fsmonitor/watchmanclient.py: error importing: <ImportError> No module named 'pybser' (error at __init__.py:*)
Pulkit Goyal
py3: update test-check-py3-compat.t output...
r30469 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:*)
mercurial/cffi/osutil.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)
Yuya Nishihara
py3: update test-check-py3-compat.t output...
r30333 mercurial/scmwindows.py: error importing: <ImportError> No module named 'msvcrt' (error at win32.py:*)
Yuya Nishihara
py3: include module filename in check-py3-compat.py output...
r30093 mercurial/win32.py: error importing: <ImportError> No module named 'msvcrt' (error at win32.py:*)
mercurial/windows.py: error importing: <ImportError> No module named 'msvcrt' (error at windows.py:*)
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