Mercurial > hg > mercurial-source
changeset 43896: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 +++ 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) (?)