diff -r 83a349aaeba3 -r 7f51bc36194d mercurial/encoding.py --- a/mercurial/encoding.py Sat Nov 16 15:34:47 2019 +0900 +++ b/mercurial/encoding.py Sat Nov 16 16:09:39 2019 +0900 @@ -268,11 +268,11 @@ def strtolocal(s): # type: (str) -> bytes - return s + return s # pytype: disable=bad-return-type def strfromlocal(s): # type: (bytes) -> str - return s + return s # pytype: disable=bad-return-type strmethod = pycompat.identity