diff 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
line wrap: on
line diff
--- a/tests/test-check-pyflakes.t	Sat Oct 05 16:57:45 2019 -0400
+++ b/tests/test-check-pyflakes.t	Sat Oct 05 17:44:54 2019 -0400
@@ -22,4 +22,5 @@
   > 2>/dev/null \
   > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
   contrib/perf.py:*: undefined name 'xrange' (glob) (?)
+  mercurial/hgweb/server.py:*: undefined name 'reload' (glob) (?)