xref: /llvm-project/lldb/test/API/sanity/TestReprStrEquality.py (revision 2238dcc39358353cac21df75c3c3286ab20b8f53)
1"""
2This is a sanity check that verifies that `repr(sbobject)` and `str(sbobject)`
3produce the same string.
4"""
5
6
7import lldb
8from lldbsuite.test.lldbtest import *
9
10
11class TestCase(TestBase):
12    NO_DEBUG_INFO_TESTCASE = True
13
14    def test(self):
15        self.assertEqual(repr(self.dbg), str(self.dbg))
16