tests: drop some py2 specific pyflake failures
Differential Revision: https://phab.mercurial-scm.org/D12422
--- a/tests/test-check-pyflakes.t Tue Mar 29 23:31:37 2022 -0400
+++ b/tests/test-check-pyflakes.t Wed Mar 30 00:44:55 2022 -0400
@@ -21,8 +21,5 @@
> | xargs "$PYTHON" -m 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) (?)
- mercurial/encoding.py:*:* undefined name 'localstr' (glob) (?)
- tests/run-tests.py:*:* undefined name 'PermissionError' (glob) (?)
mercurial/util.py:*:* 'pickle' imported but unused (glob)