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 2022/05/20 19:38:08 UTC

[GitHub] [tvm] areusch commented on a diff in pull request #11393: Add utility to replace direct call to pytest.main

areusch commented on code in PR #11393:
URL: https://github.com/apache/tvm/pull/11393#discussion_r878491391


##########
tests/python/unittest/test_tvmscript_syntax_sugar.py:
##########
@@ -347,4 +347,6 @@ def mma_sync_m16n16k16_desc_manual(a: T.handle, b: T.handle, c: T.handle) -> Non
 
 
 if __name__ == "__main__":
-    sys.exit(pytest.main([__file__] + sys.argv[1:]))
+    import tvm.testing

Review Comment:
   can you add this import at the top of the file?



-- 
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