Skip to content

Commit 417ed76

Browse files
committed
formatting
1 parent 87cbc6c commit 417ed76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

mlir/test/python/ir/diagnostic_handler.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
import gc
44
from mlir.ir import *
5-
from mlir._mlir_libs._mlirPythonTestNanobind import test_diagnostics_with_errors_and_notes
5+
from mlir._mlir_libs._mlirPythonTestNanobind import (
6+
test_diagnostics_with_errors_and_notes,
7+
)
68

79

810
def run(f):
@@ -224,6 +226,7 @@ def callback2(d):
224226
# CHECK: CALLBACK1: foobar
225227
loc.emit_error("foobar")
226228

229+
227230
# CHECK-LABEL: TEST: testBuiltInDiagnosticsHandler
228231
@run
229232
def testBuiltInDiagnosticsHandler():
@@ -235,4 +238,3 @@ def testBuiltInDiagnosticsHandler():
235238
# CHECK: created error
236239
# CHECK: MLIRPythonCAPI
237240
print(e)
238-

0 commit comments

Comments
 (0)