aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/sanity/TestReprStrEquality.py
blob: 96eeacdd07480e8557e941cf57fad066c8bc7daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
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))