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
--- 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) (?)