Author: c8ef Date: 2024-10-01T14:52:14+02:00 New Revision: 2e559c3dceef94bcab7a112cc5e6600837851dab
URL: https://github.com/llvm/llvm-project/commit/2e559c3dceef94bcab7a112cc5e6600837851dab DIFF: https://github.com/llvm/llvm-project/commit/2e559c3dceef94bcab7a112cc5e6600837851dab.diff LOG: [NFC] Correct the misuse of the API in the Clang test-report script (#108725) ref: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertEqual Added: Modified: clang/tools/scan-build-py/tests/unit/test_report.py Removed: ################################################################################ diff --git a/clang/tools/scan-build-py/tests/unit/test_report.py b/clang/tools/scan-build-py/tests/unit/test_report.py index 4d85590a211229..88dcb965d0da34 100644 --- a/clang/tools/scan-build-py/tests/unit/test_report.py +++ b/clang/tools/scan-build-py/tests/unit/test_report.py @@ -538,7 +538,7 @@ def test_merge_updates_embedded_link(self): "test message 6-1 [link](sarif:/runs/4/results/0)", ], ) - self.assertEquals( + self.assertEqual( thread_flows, [ "test message 1-2 [link](sarif:/runs/1/results/0)", _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits