Mercurial > hg-stable
diff Makefile @ 44467:fc70291f3d24
tests: avoid implicit conversion of str to unicode
On Python 2, str.encode('ascii') implicitly converts the string to unicode and
then back to str.
Since the converted value is a path, _bytespath can be used instead.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Thu, 05 Mar 2020 18:19:21 +0100 |
parents | 64e104ca555e |
children | 1c8e3c17c702 |