# HG changeset patch # User Manuel Jacob # Date 2020-03-09 00:11:59 # Node ID 9803b374389a408dabdd4e3810ed7217ac0186a1 # Parent 7d5455b988ece5dc4749e8184950aaa08fc68268 tests: fix isinstance test of wrong variable 3086a8627b2970cd7fbf49bc69413c08c68d5514 changed self._case to be a list, but it was forgotten to adjust this line. diff --git a/tests/run-tests.py b/tests/run-tests.py --- a/tests/run-tests.py +++ b/tests/run-tests.py @@ -1770,7 +1770,7 @@ class TTest(Test): 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')