Mercurial > hg
diff tests/run-tests.py @ 44451: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 | 6d3b67a837a6 |
children | a08bbdf839ae fb7da4759a18 |
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')