[clang] [libclang/python] Add equality comparison operators for File (PR #130383)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 8 07:11:36 PST 2025


Endilll wrote:

I think the failure in question is
```
 ======================================================================
FAIL: test_file_eq (tests.cindex.test_file.TestFile.test_file_eq)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/__w/llvm-project/llvm-project/clang/bindings/python/tests/cindex/test_file.py", line 32, in test_file_eq
    self.assertNotEqual(file1, file2)
AssertionError: <File: t.c> == <File: s.c>

----------------------------------------------------------------------
```
and I have to idea why this happens.

https://github.com/llvm/llvm-project/pull/130383


More information about the cfe-commits mailing list