You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/11/05 16:48:45 UTC

[GitHub] [tvm] junrushao1994 commented on a change in pull request #9422: [TensorIR] Print TVMScript with prefix T instead of tir

junrushao1994 commented on a change in pull request #9422:
URL: https://github.com/apache/tvm/pull/9422#discussion_r743824214



##########
File path: tests/python/unittest/test_tvmscript_error_report.py
##########
@@ -548,9 +548,10 @@ def test_reorder_fail_block():
         sch.reorder(l, i)
     expected_sub_error_message = (
         "            # tir.Block#0\n"
-        '            with tir.block("B"):\n'
-        "            ^^^^^^^^^^^^^^^^^^^^\n"
+        '            with T.block("B"):\n'
+        "            ^^^^^^^^^^^^^^^^^^\n"
     )
+    print("expected: ", expected_sub_error_message, "actual: ", str(execinfo.value))

Review comment:
       Hey shall we remove the print here?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org