Mercurial > hg
comparison tests/test-check-py3-compat.t @ 29886:e2c086f147ef
py3: split check of pygments-using files from the rest of the tree
If we don't do this, people without pygments installed in their Python
3 environment silently stop checking test-check-py3-compat, which
isn't really what we wanted. This preserves stability of the test
output while still letting anyone with a recent-enough Python 3 run
the majority of the Python 3 compat checking test.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 30 Aug 2016 13:33:48 -0400 |
parents | ceff91dea404 |
children | 31a6d5e14508 |
comparison
equal
deleted
inserted
replaced
29885:42751543fa06 | 29886:e2c086f147ef |
---|---|
10 hgext/fsmonitor/pywatchman/pybser.py not using absolute_import | 10 hgext/fsmonitor/pywatchman/pybser.py not using absolute_import |
11 i18n/check-translation.py not using absolute_import | 11 i18n/check-translation.py not using absolute_import |
12 setup.py not using absolute_import | 12 setup.py not using absolute_import |
13 tests/test-demandimport.py not using absolute_import | 13 tests/test-demandimport.py not using absolute_import |
14 | 14 |
15 #if py3exe py3pygments | 15 #if py3exe |
16 $ hg files 'set:(**.py)' | sed 's|\\|/|g' \ | 16 $ hg files 'set:(**.py) - grep(pygments)' | sed 's|\\|/|g' \ |
17 > | xargs $PYTHON3 contrib/check-py3-compat.py \ | 17 > | xargs $PYTHON3 contrib/check-py3-compat.py \ |
18 > | sed 's/[0-9][0-9]*)$/*)/' | 18 > | sed 's/[0-9][0-9]*)$/*)/' |
19 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) | 19 doc/hgmanpage.py: invalid syntax: invalid syntax (<unknown>, line *) |
20 hgext/acl.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 20 hgext/acl.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
21 hgext/automv.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 21 hgext/automv.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
48 hgext/fsmonitor/state.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 48 hgext/fsmonitor/state.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
49 hgext/fsmonitor/watchmanclient.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 49 hgext/fsmonitor/watchmanclient.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
50 hgext/gpg.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 50 hgext/gpg.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
51 hgext/graphlog.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 51 hgext/graphlog.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
52 hgext/hgk.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 52 hgext/hgk.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
53 hgext/highlight/highlight.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | |
54 hgext/histedit.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 53 hgext/histedit.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
55 hgext/journal.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 54 hgext/journal.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
56 hgext/keyword.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 55 hgext/keyword.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
57 hgext/largefiles/basestore.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 56 hgext/largefiles/basestore.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
58 hgext/largefiles/lfcommands.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | 57 hgext/largefiles/lfcommands.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) |
170 mercurial/win32.py: error importing module: <ImportError> No module named 'msvcrt' (line *) | 169 mercurial/win32.py: error importing module: <ImportError> No module named 'msvcrt' (line *) |
171 mercurial/windows.py: error importing module: <ImportError> No module named 'msvcrt' (line *) | 170 mercurial/windows.py: error importing module: <ImportError> No module named 'msvcrt' (line *) |
172 mercurial/wireproto.py: error importing module: <TypeError> unorderable types: str() >= tuple() (line *) | 171 mercurial/wireproto.py: error importing module: <TypeError> unorderable types: str() >= tuple() (line *) |
173 | 172 |
174 #endif | 173 #endif |
174 | |
175 #if py3exe py3pygments | |
176 $ hg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \ | |
177 > | xargs $PYTHON3 contrib/check-py3-compat.py \ | |
178 > | sed 's/[0-9][0-9]*)$/*)/' | |
179 hgext/highlight/highlight.py: error importing: <TypeError> str expected, not bytes (error at encoding.py:*) | |
180 #endif |