Skip to content

Commit

Permalink
Fix python bindings tests after change in visibility requirement for …
Browse files Browse the repository at this point in the history
…symbol declarations
  • Loading branch information
joker-eph committed Nov 17, 2020
1 parent fac0622 commit 74207e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mlir/test/Bindings/Python/ir_module.py
Expand Up @@ -60,12 +60,12 @@ def testCreateEmpty():
# Note that this does not test that the print path converts unicode properly
# because MLIR asm always normalizes it to the hex encoding.
# CHECK-LABEL: TEST: testRoundtripUnicode
# CHECK: func @roundtripUnicode()
# CHECK: func private @roundtripUnicode()
# CHECK: foo = "\F0\9F\98\8A"
def testRoundtripUnicode():
ctx = Context()
module = Module.parse(r"""
func @roundtripUnicode() attributes { foo = "😊" }
func private @roundtripUnicode() attributes { foo = "😊" }
""", ctx)
print(str(module))

Expand Down
2 changes: 1 addition & 1 deletion mlir/test/Bindings/Python/ir_operation.py
Expand Up @@ -320,7 +320,7 @@ def testOperationResultList():
%0:3 = call @f2() : () -> (i32, f64, index)
return
}
func @f2() -> (i32, f64, index)
func private @f2() -> (i32, f64, index)
""", ctx)
caller = module.body.operations[0]
call = caller.regions[0].blocks[0].operations[0]
Expand Down

0 comments on commit 74207e7

Please sign in to comment.