tests: fix isinstance test of wrong variable stable
authorManuel Jacob <me@manueljacob.de>
Mon, 09 Mar 2020 01:11:59 +0100
branchstable
changeset 44451 9803b374389a
parent 44450 7d5455b988ec
child 44470 a08bbdf839ae
child 44471 fb7da4759a18
tests: fix isinstance test of wrong variable 3086a8627b2970cd7fbf49bc69413c08c68d5514 changed self._case to be a list, but it was forgotten to adjust this line.
tests/run-tests.py
--- 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')