We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d88773 commit 827870eCopy full SHA for 827870e
mlir/test/python/ir/operation.py
@@ -594,6 +594,7 @@ def testOperationAttributes():
594
# CHECK: Dict mapping {'dependent': 'text', 'other.attribute': 3.0, 'some.attribute': 1}
595
print("Dict mapping", d)
596
597
+ # Check that exceptions are raised as expected.
598
try:
599
op.attributes["does_not_exist"]
600
except KeyError:
0 commit comments