[clang] [libclang/python] Fix incorrect assert in test (PR #114395)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 31 05:10:32 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Jannick Kremer (DeinAlptraum)
<details>
<summary>Changes</summary>
This mistake was introduced in #<!-- -->109846
---
Full diff: https://github.com/llvm/llvm-project/pull/114395.diff
1 Files Affected:
- (modified) clang/bindings/python/tests/cindex/test_cursor.py (+1-1)
``````````diff
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(
``````````
</details>
https://github.com/llvm/llvm-project/pull/114395
More information about the cfe-commits
mailing list