tests/test-check-pyflakes.t
branchstable
changeset 44958 f9099e210c57
parent 44957 1ca0d5cae9bc
child 44959 170f8a43b5b8
--- a/tests/test-check-pyflakes.t	Sat Jun 06 19:19:27 2020 +0800
+++ b/tests/test-check-pyflakes.t	Sat Jun 06 19:12:49 2020 +0800
@@ -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"`"