Mercurial > hg-stable
changeset 44202:9803b374389a stable
tests: fix isinstance test of wrong variable
3086a8627b2970cd7fbf49bc69413c08c68d5514 changed self._case to be a list, but
it was forgotten to adjust this line.
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Mon, 09 Mar 2020 01:11:59 +0100 |
parents | 7d5455b988ec |
children | fb7da4759a18 a08bbdf839ae |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Fri Mar 06 23:27:28 2020 +0100 +++ b/tests/run-tests.py Mon Mar 09 01:11:59 2020 +0100 @@ -1770,7 +1770,7 @@ if self._case: casestr = b'#'.join(self._case) - if isinstance(self._case, str): + if isinstance(casestr, str): quoted = shellquote(casestr) else: quoted = shellquote(casestr.decode('utf8')).encode('utf8')