[Mlir-commits] [mlir] [MLIR][Python] remove `liveOperations` (PR #155114)

Sergei Lebedev llvmlistbot at llvm.org
Sun Aug 31 03:26:56 PDT 2025


================
@@ -907,7 +907,13 @@ def testCapsuleConversions():
         m_capsule = m._CAPIPtr
         assert '"mlir.ir.Operation._CAPIPtr"' in repr(m_capsule)
         m2 = Operation._CAPICreate(m_capsule)
-        assert m2 is m
+        assert not m2 is m
----------------
superbobry wrote:

Nit: use `is not`.

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


More information about the Mlir-commits mailing list