Patchwork D7018: tests: allow warning about file

login
register
mail settings
Submitter phabricator
Date Oct. 7, 2019, 8:08 p.m.
Message ID <differential-rev-PHID-DREV-a6ahthy75phprncggyrx-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/42075/
State Superseded
Headers show

Comments

phabricator - Oct. 7, 2019, 8:08 p.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The code is protected by a block that makes it Python 2 only, so
  use of file is acceptable.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-check-pyflakes.t

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: 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
@@ -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) (?)