tests: allow warning about file
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 07 Oct 2019 10:31:11 -0400
changeset 43109 f244da1fc4c6
parent 43108 dc6d866b8cb8
child 43110 1fcf79e9943a
tests: allow warning about file The code is protected by a block that makes it Python 2 only, so use of file is acceptable. Differential Revision: https://phab.mercurial-scm.org/D7018
tests/test-check-pyflakes.t
--- a/tests/test-check-pyflakes.t	Mon Oct 07 10:28:32 2019 -0400
+++ b/tests/test-check-pyflakes.t	Mon Oct 07 10:31:11 2019 -0400
@@ -23,4 +23,5 @@
   > | xargs pyflakes 2>/dev/null | "$TESTDIR/filterpyflakes.py"
   contrib/perf.py:*: undefined name 'xrange' (glob) (?)
   mercurial/hgweb/server.py:*: undefined name 'reload' (glob) (?)
+  mercurial/util.py:*: undefined name 'file' (glob) (?)