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/lua_api/TestProcessAPI.lua | |
| 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/lua_api/TestProcessAPI.lua')
| -rw-r--r-- | lldb/test/API/lua_api/TestProcessAPI.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/API/lua_api/TestProcessAPI.lua b/lldb/test/API/lua_api/TestProcessAPI.lua index aa788ba74115..ff84cd9c7947 100644 --- a/lldb/test/API/lua_api/TestProcessAPI.lua +++ b/lldb/test/API/lua_api/TestProcessAPI.lua @@ -13,7 +13,7 @@ function _T:TestProcessLaunchSimple() ) assertTrue(process:IsValid()) local stdout = process:GetSTDOUT(1000) - assertEquals(split_lines(stdout), {self.exe, table.unpack(args)}) + assertEqual(split_lines(stdout), {self.exe, table.unpack(args)}) end function _T:TestProcessLaunch() @@ -52,7 +52,7 @@ function _T:TestProcessLaunch() local continue = process:Continue() assertTrue(continue:Success()) local f = io.open(self.output, 'r') - assertEquals(read_file_non_empty_lines(f), {self.exe, table.unpack(args)}) + assertEqual(read_file_non_empty_lines(f), {self.exe, table.unpack(args)}) f:close() end |
