diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-02-16 20:58:50 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-16 20:58:50 -0800 |
| commit | 80fcecb13c388ff087a27a4b0e7ca3dd8c98eaa4 (patch) | |
| tree | 5dfda69ad17a572f8832ed60746288216d179f9a /lldb/test/API/python_api/debugger/TestDebuggerAPI.py | |
| parent | 8443ce563bf3500b705ab3507ae586e2a72d31f4 (diff) | |
[lldb] Replace assertEquals with assertEqual (NFC) (#82073)
assertEquals is a deprecated alias for assertEqual and has been removed
in Python 3.12. This wasn't an issue previously because we used a
vendored version of the unittest module. Now that we use the built-in
version this gets updated together with the Python version used to run
the test suite.
Diffstat (limited to 'lldb/test/API/python_api/debugger/TestDebuggerAPI.py')
| -rw-r--r-- | lldb/test/API/python_api/debugger/TestDebuggerAPI.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/API/python_api/debugger/TestDebuggerAPI.py b/lldb/test/API/python_api/debugger/TestDebuggerAPI.py index 0f440bd451dd..522de2466012 100644 --- a/lldb/test/API/python_api/debugger/TestDebuggerAPI.py +++ b/lldb/test/API/python_api/debugger/TestDebuggerAPI.py @@ -32,7 +32,7 @@ class DebuggerAPITestCase(TestBase): self.dbg.SetCurrentPlatformSDKRoot(None) fresh_dbg = lldb.SBDebugger() - self.assertEquals(len(fresh_dbg), 0) + self.assertEqual(len(fresh_dbg), 0) def test_debugger_delete_invalid_target(self): """SBDebugger.DeleteTarget() should not crash LLDB given and invalid target.""" |
