tests: drop some py2 specific pyflake failures
authorMatt Harbison <matt_harbison@yahoo.com>
Wed, 30 Mar 2022 00:44:55 -0400
changeset 49071 54bf76d005df
parent 49070 7ccf3dac1a8f
child 49072 20c6c9e43397
tests: drop some py2 specific pyflake failures Differential Revision: https://phab.mercurial-scm.org/D12422
tests/test-check-pyflakes.t
--- 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)