mirror of
https://github.com/facebook/sapling.git
synced 2025-01-08 14:46:47 +03:00
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:
parent
f9cc757043
commit
f9bcc09f4a
2
setup.py
2
setup.py
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user