hg: fix check pyflakes

Summary:
This test wasn't running because it had a hg10 check. Let's drop that
and fix the one failure.

Differential Revision: D6798754

fbshipit-source-id: 9d1f1f8b58ff14cba8228f9dc4c83ce21cab6c48
This commit is contained in:
Durham Goode 2018-01-24 11:27:39 -08:00 committed by Saurabh Singh
parent f9cc757043
commit f9bcc09f4a
2 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ else:
ispypy = "PyPy" in sys.version
import ctypes
import stat, subprocess, time
import stat, subprocess
import re
import shutil
import tempfile

View File

@ -1,4 +1,4 @@
#require test-repo pyflakes hg10
#require test-repo pyflakes
$ . "$TESTDIR/helpers-testrepo.sh"
@ -13,7 +13,7 @@ run pyflakes on all tracked files ending in .py or without a file ending
$ cd "`dirname "$TESTDIR"`"
$ testrepohg locate 'set:**.py or grep("^#!.*python")' \
$ testrepohg locate '**.py' -I '.' \
> -X hgext/fsmonitor/pywatchman \
> -X mercurial/pycompat.py -X contrib/python-zstandard \
> -X hg-git \