Show More
@@ -1,48 +1,56 b'' | |||
|
1 | 1 | #require test-repo |
|
2 | 2 | |
|
3 | 3 | $ . "$TESTDIR/helpers-testrepo.sh" |
|
4 | 4 | $ cd "$TESTDIR"/.. |
|
5 | 5 | |
|
6 | 6 | #if no-py3 |
|
7 | 7 | $ testrepohg files 'set:(**.py)' \ |
|
8 | 8 | > -X hgdemandimport/demandimportpy2.py \ |
|
9 | 9 | > -X mercurial/thirdparty/cbor \ |
|
10 | 10 | > | sed 's|\\|/|g' | xargs "$PYTHON" contrib/check-py3-compat.py |
|
11 | 11 | contrib/python-zstandard/setup.py not using absolute_import |
|
12 | 12 | contrib/python-zstandard/setup_zstd.py not using absolute_import |
|
13 | 13 | contrib/python-zstandard/tests/common.py not using absolute_import |
|
14 | 14 | contrib/python-zstandard/tests/test_buffer_util.py not using absolute_import |
|
15 | 15 | contrib/python-zstandard/tests/test_compressor.py not using absolute_import |
|
16 | 16 | contrib/python-zstandard/tests/test_compressor_fuzzing.py not using absolute_import |
|
17 | 17 | contrib/python-zstandard/tests/test_data_structures.py not using absolute_import |
|
18 | 18 | contrib/python-zstandard/tests/test_data_structures_fuzzing.py not using absolute_import |
|
19 | 19 | contrib/python-zstandard/tests/test_decompressor.py not using absolute_import |
|
20 | 20 | contrib/python-zstandard/tests/test_decompressor_fuzzing.py not using absolute_import |
|
21 | 21 | contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import |
|
22 | 22 | contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import |
|
23 | 23 | contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import |
|
24 | 24 | setup.py not using absolute_import |
|
25 | 25 | #endif |
|
26 | 26 | |
|
27 | 27 | #if py3 |
|
28 | 28 | $ testrepohg files 'set:(**.py) - grep(pygments)' \ |
|
29 | 29 | > -X hgdemandimport/demandimportpy2.py \ |
|
30 | 30 | > -X hgext/fsmonitor/pywatchman \ |
|
31 | 31 | > -X mercurial/cffi \ |
|
32 | 32 | > -X mercurial/thirdparty \ |
|
33 | 33 | > | sed 's|\\|/|g' | xargs "$PYTHON" contrib/check-py3-compat.py \ |
|
34 | 34 | > | sed 's/[0-9][0-9]*)$/*)/' |
|
35 | contrib/python-zstandard/tests/test_compressor.py:324: SyntaxWarning: invalid escape sequence \( (py38 !) | |
|
36 | with self.assertRaisesRegexp(zstd.ZstdError, 'cannot call compress\(\) after compressor'): (py38 !) | |
|
37 | contrib/python-zstandard/tests/test_compressor.py:1329: SyntaxWarning: invalid escape sequence \( (py38 !) | |
|
38 | 'cannot call compress\(\) after compression finished'): (py38 !) | |
|
39 | contrib/python-zstandard/tests/test_compressor.py:1341: SyntaxWarning: invalid escape sequence \( (py38 !) | |
|
40 | 'cannot call flush\(\) after compression finished'): (py38 !) | |
|
41 | contrib/python-zstandard/tests/test_compressor.py:1353: SyntaxWarning: invalid escape sequence \( (py38 !) | |
|
42 | 'cannot call finish\(\) after compression finished'): (py38 !) | |
|
35 | 43 | hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob) (?) |
|
36 | 44 | hgext/infinitepush/sqlindexapi.py: error importing: <*Error> No module named 'mysql' (error at sqlindexapi.py:*) (glob) (?) |
|
37 | 45 | mercurial/scmwindows.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !) |
|
38 | 46 | mercurial/win32.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !) |
|
39 | 47 | mercurial/windows.py: error importing: <ModuleNotFoundError> No module named 'msvcrt' (error at windows.py:*) (no-windows !) |
|
40 | 48 | mercurial/posix.py: error importing: <ModuleNotFoundError> No module named 'fcntl' (error at posix.py:*) (windows !) |
|
41 | 49 | mercurial/scmposix.py: error importing: <ModuleNotFoundError> No module named 'fcntl' (error at scmposix.py:*) (windows !) |
|
42 | 50 | #endif |
|
43 | 51 | |
|
44 | 52 | #if py3 pygments |
|
45 | 53 | $ testrepohg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \ |
|
46 | 54 | > | xargs "$PYTHON" contrib/check-py3-compat.py \ |
|
47 | 55 | > | sed 's/[0-9][0-9]*)$/*)/' |
|
48 | 56 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now