diff options
| author | Jordan Rupprecht <rupprecht@google.com> | 2024-02-21 13:02:30 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-21 13:02:30 -0600 |
| commit | 9c2468821ec51defd09c246fea4a47886fff8c01 (patch) | |
| tree | 37781dd1ecd1e72faad5215f06e5a1579106b451 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
| parent | 4247175d4536964322b129d1d3bbe6128da653bf (diff) | |
[lldb][test] Modernize asserts (#82503)
This uses [teyit](https://pypi.org/project/teyit/) to modernize asserts,
as recommended by the [unittest release
notes](https://docs.python.org/3.12/whatsnew/3.12.html#id3).
For example, `assertTrue(a == b)` is replaced with `assertEqual(a, b)`.
This produces better error messages, e.g. `error: unexpectedly found 1
and 2 to be different` instead of `error: False`.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions
