bolt/deps/llvm-18.1.8/lldb/test/API/sanity/TestReprStrEquality.py

16 lines
303 B
Python
Raw Normal View History

2025-02-14 19:21:04 +01:00
"""
This is a sanity check that verifies that `repr(sbobject)` and `str(sbobject)`
produce the same string.
"""
import lldb
from lldbsuite.test.lldbtest import *
class TestCase(TestBase):
NO_DEBUG_INFO_TESTCASE = True
def test(self):
self.assertEqual(repr(self.dbg), str(self.dbg))