Patchwork D12422: tests: drop some py2 specific pyflake failures

login
register
mail settings
Submitter phabricator
Date March 30, 2022, 5:46 a.m.
Message ID <differential-rev-PHID-DREV-sbnnpsbpb7sf7lqjqkxu-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50766/
State New
Headers show

Comments

phabricator - March 30, 2022, 5:46 a.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D12422

AFFECTED FILES
  tests/test-check-pyflakes.t

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-check-pyflakes.t b/tests/test-check-pyflakes.t
--- a/tests/test-check-pyflakes.t
+++ b/tests/test-check-pyflakes.t
@@ -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)