[Lldb-commits] [lldb] 6e4cd46 - [lldb] s/assertEquals/assertEqual TestDAP_sendEvent

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 8 04:25:52 PST 2024


Author: Pavel Labath
Date: 2024-11-08T13:25:23+01:00
New Revision: 6e4cd463e580046feb66597a61db352c63fd783b

URL: https://github.com/llvm/llvm-project/commit/6e4cd463e580046feb66597a61db352c63fd783b
DIFF: https://github.com/llvm/llvm-project/commit/6e4cd463e580046feb66597a61db352c63fd783b.diff

LOG: [lldb] s/assertEquals/assertEqual TestDAP_sendEvent

New unittest versions don't have the "s" version.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py b/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
index de47651bb2fa1b..ce262be1618616 100644
--- a/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
+++ b/lldb/test/API/tools/lldb-dap/send-event/TestDAP_sendEvent.py
@@ -38,12 +38,12 @@ def test_send_event(self):
         custom_event = self.dap_server.wait_for_event(
             filter=["my-custom-event-no-body"]
         )
-        self.assertEquals(custom_event["event"], "my-custom-event-no-body")
+        self.assertEqual(custom_event["event"], "my-custom-event-no-body")
         self.assertIsNone(custom_event.get("body", None))
 
         custom_event = self.dap_server.wait_for_event(filter=["my-custom-event"])
-        self.assertEquals(custom_event["event"], "my-custom-event")
-        self.assertEquals(custom_event["body"], custom_event_body)
+        self.assertEqual(custom_event["event"], "my-custom-event")
+        self.assertEqual(custom_event["body"], custom_event_body)
 
     def test_send_internal_event(self):
         """


        


More information about the lldb-commits mailing list