changeset 43109:f244da1fc4c6

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
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 07 Oct 2019 10:31:11 -0400
parents dc6d866b8cb8
children 1fcf79e9943a
files tests/test-check-pyflakes.t
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) (?)