[Updated] D8629: tests: consistently use pyflakes as a Python module
av6 (Anton Shestakov)
phabricator at mercurial-scm.org
Mon Jun 15 09:28:04 UTC 2020
Closed by commit rHGf9099e210c57: tests: consistently use pyflakes as a Python module (authored by av6).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8629?vs=21628&id=21632
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8629/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8629
AFFECTED FILES
tests/test-check-pyflakes.t
CHANGE DETAILS
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
@@ -8,7 +8,7 @@
$ cat > test.py <<EOF
> print(undefinedname)
> EOF
- $ pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py"
+ $ $PYTHON -m pyflakes test.py 2>/dev/null | "$TESTDIR/filterpyflakes.py"
test.py:1: undefined name 'undefinedname'
$ cd "`dirname "$TESTDIR"`"
To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200615/2d5602c9/attachment-0002.html>
More information about the Mercurial-patches
mailing list