comparison tests/test-check-pyflakes.t @ 43069:e554cfd93975

hgweb: use importlib.reload() if available reload() was nuked in Python 3. We need to use importlib.reload() instead. But pyflakes isn't smart enough to detect our conditional usage, so we allow this error. Differential Revision: https://phab.mercurial-scm.org/D6992
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 05 Oct 2019 17:44:54 -0400
parents 094d0f4a8edd
children f244da1fc4c6
comparison
equal deleted inserted replaced
43068:094d0f4a8edd 43069:e554cfd93975
20 > -X mercurial/thirdparty/concurrent \ 20 > -X mercurial/thirdparty/concurrent \
21 > -X mercurial/thirdparty/zope \ 21 > -X mercurial/thirdparty/zope \
22 > 2>/dev/null \ 22 > 2>/dev/null \
23 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py" 23 > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
24 contrib/perf.py:*: undefined name 'xrange' (glob) (?) 24 contrib/perf.py:*: undefined name 'xrange' (glob) (?)
25 mercurial/hgweb/server.py:*: undefined name 'reload' (glob) (?)
25 26