summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-02-16 20:58:50 -0800
committerGitHub <noreply@github.com>2024-02-16 20:58:50 -0800
commit80fcecb13c388ff087a27a4b0e7ca3dd8c98eaa4 (patch)
tree5dfda69ad17a572f8832ed60746288216d179f9a /lldb/test/API/functionalities/plugins/python_os_plugin
parent8443ce563bf3500b705ab3507ae586e2a72d31f4 (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/functionalities/plugins/python_os_plugin')
-rw-r--r--lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
index 9ec49d0069a6..859e87cf75a5 100644
--- a/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
+++ b/lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
@@ -212,7 +212,7 @@ class PluginPythonOSPlugin(TestBase):
"main.c",
"Make sure we stepped from line 5 to line 6 in main.c",
)
- self.assertEquals(
+ self.assertEqual(
line_entry.GetLine(),
6,
"Make sure we stepped from line 5 to line 6 in main.c",