Update test error string post pass registration change
authorJacques Pienaar <jpienaar@google.com>
Sat, 20 Feb 2021 23:54:52 +0000 (15:54 -0800)
committerJacques Pienaar <jpienaar@google.com>
Sat, 20 Feb 2021 23:54:52 +0000 (15:54 -0800)
mlir/test/Bindings/Python/pass_manager.py

index 2b682d84b751935cf7c02f9c730a760d650c7baf..61ff64f67be65ab56b80bf8e3b05fae15ff56e00 100644 (file)
@@ -73,7 +73,7 @@ def testInvalidNesting():
     try:
       pm = PassManager.parse("func(print-op-graph)")
     except ValueError as e:
-      # CHECK: Can't add pass 'PrintOp' restricted to 'module' on a PassManager intended to run on 'func', did you intend to nest?
+      # CHECK: Can't add pass 'ViewOpGraphPass' restricted to 'module' on a PassManager intended to run on 'func', did you intend to nest?
       # CHECK: ValueError exception: invalid pass pipeline 'func(print-op-graph)'.
       log("ValueError exception:", e)
     else: