Mercurial > hg
view tests/narrow-library.sh @ 43683:7f51bc36194d
typing: suppress error of py2 encoding.strtolocal() and .strfromlocal()
I don't know how to conditionally get rid of these py2/py3 overloads from
.pyi file. Instead, this patch makes pytype ignore the false-positives:
line 271, in strtolocal: bad option in return type [bad-return-type]
Expected: bytes
Actually returned: str
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 16 Nov 2019 16:09:39 +0900 |
parents | bcf70058af90 |
children | d72378f93a44 |
line wrap: on
line source
cat >> $HGRCPATH <<EOF [extensions] narrow= [ui] ssh=python "$RUNTESTDIR/dummyssh" [experimental] changegroup3 = True EOF