[clang] [libclang/python] Fix incorrect assert in test (PR #114395)
Jannick Kremer via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 31 05:10:01 PDT 2024
https://github.com/DeinAlptraum created https://github.com/llvm/llvm-project/pull/114395
This mistake was introduced in #109846
>From 5de030fa89f4dbda6d21224a3097d83b467d1575 Mon Sep 17 00:00:00 2001
From: Jannick Kremer <jannick.kremer at mailbox.org>
Date: Thu, 31 Oct 2024 13:07:06 +0100
Subject: [PATCH] [libclang/python] Fix incorrect assert in test
---
clang/bindings/python/tests/cindex/test_cursor.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/bindings/python/tests/cindex/test_cursor.py b/clang/bindings/python/tests/cindex/test_cursor.py
index 77d8ca415708f8..f118613e3209d2 100644
--- a/clang/bindings/python/tests/cindex/test_cursor.py
+++ b/clang/bindings/python/tests/cindex/test_cursor.py
@@ -344,7 +344,7 @@ class Bar {
)
self.assertEqual(len(copy_assignment_operators_cursors), 10)
- self.assertTrue(len(non_copy_assignment_operators_cursors), 9)
+ self.assertEqual(len(non_copy_assignment_operators_cursors), 7)
self.assertTrue(
all(
More information about the cfe-commits
mailing list