From 80fcecb13c388ff087a27a4b0e7ca3dd8c98eaa4 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 16 Feb 2024 20:58:50 -0800 Subject: [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. --- .../API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py') 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", -- cgit v1.2.3