Mercurial > hg-stable
comparison setup.py @ 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 | d543ef183eb8 |
children | 9d2b2df2c2ba |
comparison
equal
deleted
inserted
replaced
44466:109322cd322a | 44467:fc70291f3d24 |
---|