[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.
This commit is contained in:
1 parent
8443ce563b
commit
80fcecb13c
111 files changed
+426
-426
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user