[Updated] D8617: tests: consistently use pyflakes as a Python module
av6 (Anton Shestakov)
phabricator at mercurial-scm.org
Tue Jun 9 10:10:11 UTC 2020
Closed by commit rHGf4361aed565d: 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/D8617?vs=21570&id=21578
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8617/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8617
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: av6, #hg-reviewers, mjacob, pulkit
Cc: mjacob, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200609/9af3aab1/attachment-0002.html>
More information about the Mercurial-patches
mailing list