Files
clang-p2996/lldb/test/API/sanity/TestReprStrEquality.py
Dave Lee 4cc8f2a017 [lldb][tests] Automatically call compute_mydir (NFC)
Eliminate boilerplate of having each test manually assign to `mydir` by calling
`compute_mydir` in lldbtest.py.

Differential Revision: https://reviews.llvm.org/D128077
2022-06-17 14:34:49 -07:00

17 lines
296 B
Python

"""
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))