[Lldb-commits] [PATCH] D88792: [lldb/test] Catch invalid calls to expect()
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 5 00:09:08 PDT 2020
labath added inline comments.
================
Comment at: lldb/packages/Python/lldbsuite/test/lldbtest.py:2440-2441
+ assert "patterns must be a collection of strings" and False
+ if isinstance(substrs, six.string_types):
+ assert "substrs must be a collection of strings" and False
+
----------------
`assert isinstance(substrs, six.string_types), "substrs must be a collection of strings"` ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88792/new/
https://reviews.llvm.org/D88792
More information about the lldb-commits
mailing list